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 204 forks source link

Okta SAML IDP attributes : issuer _mode and name_format in resource okta_idp_saml #2065

Open venkatakanupuru opened 4 weeks ago

venkatakanupuru commented 4 weeks ago

Hi Team

Thank you so much for my previous requests and resolution. sso_url and other attributes are now fixed. ( Identity Provider sso_url #1558 ) However issuer_mode, name_format which is not required but with or without these they are being added or mentions that these changes will be applied.

Okta Terraform provider version : 4.9.0

example with test / dummy data:

% terraform import okta_idp_saml.import-idp 0oaj0lhsbzqZGyHKT5d7 Import successful!

image

% terraform plan -out plan.test

image

Even if the issuer_mode and name_format are included in the script it shows 1 to change. And after apply it comes up in the Okta logs that some changes were applied. These attributes are not in the Okta UI to change or configure them. Can this be included same as the sso_url and others.

Thank you, Venkata

duytiennguyen-okta commented 3 weeks ago

@venkatakanupuru that is because issue_mode and name_format has default in it. To remove it away would be a breaking change and would have to wait until v5

duytiennguyen-okta commented 3 weeks ago

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