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
253 stars 206 forks source link

diff suppression - URL encoding in okta_app_* label #1907

Open exitcode0 opened 7 months ago

exitcode0 commented 7 months ago

Community Note

Terraform Version

Terraform v1.5.7 on darwin_arm64
+ provider registry.terraform.io/okta/okta v4.5.0

Affected Resource(s)

Expected Behavior

Terraform does not generate a diff for something like "A&B" -> "A&B"

Actual Behavior

I think the API started to return these in a different format at some point recently

Steps to Reproduce

  1. Create an Okta application with a non alpha character in the label attribute such as &'
  2. terraform apply
duytiennguyen-okta commented 7 months ago

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