okta / terraform-provider-okta

A Terraform provider to manage Okta resources, enabling infrastructure-as-code provisioning and management of users, groups, applications, and other Okta objects.
https://registry.terraform.io/providers/okta/okta
Mozilla Public License 2.0
248 stars 201 forks source link

Device Assurance Policies need to support dynamic fields for os_version #2022

Open raindog151 opened 2 weeks ago

raindog151 commented 2 weeks ago

Community Note

Description

Currently, the TF provider only allows for a string to be passed in to the os_version key (which automatically adds the {"minimum": } sub-object which prevents me from setting dynamic assurance values. I assume this is because it's an Early Access feature?

https://developer.okta.com/docs/api/openapi/okta-management/management/tag/DeviceAssurance/#tag/DeviceAssurance/operation/createDeviceAssurancePolicy

New or Affected Resource(s)

Potential Terraform Configuration

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

References

raindog151 commented 2 weeks ago

(i am very new to using TF, so preemptive apologies for any missing data)

duytiennguyen-okta commented 1 week ago

OKTA internal reference https://oktainc.atlassian.net/browse/OKTA-742313