-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excluded Networks Order in okta_threat_insight_settings
#1185
Comments
Thanks @hi-artem I will look into this. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days |
@monde was this fixed? |
We need to fix this. I've seen other places in the provider where the ordering of a list of items doesn't matter, just the uniqueness of items in the list/set needs to be considered for the state diff. #1171 Okta internal reference: https://oktainc.atlassian.net/browse/OKTA-544444 |
@hi-artem just double checking - the ordering of items in the network_excludes set does not matter, just that all of the items are present state to state? e.g. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days |
Hey @monde, In my terraform code there are 2 network zones defined, one office IP range & one VPN IP range. The code snippet I used is:
However on every terraform apply I have the same issue as @hi-artem, the network zones are re-ordered resulting in:
I don't think the order of the I use terraform version v1.3.6 and v3.39.0 of the Okta terraform module. |
Seems solved by #1398 released in version v3.40.0 馃挭 Thanks |
Thanks for the confirmation @coolbonev2 https://github.com/okta/terraform-provider-okta/releases/tag/v3.40.0 |
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Actual Behavior
Basically, the resources will always be reordered in the plan.
Steps to Reproduce
terraform apply
terraform apply
The text was updated successfully, but these errors were encountered: