You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Note: Objects have changed outside of Terraform
Terraform detected the following changes made outside of Terraform since the last "terraform apply":
# module.okta.okta_policy_rule_mfa.some_mfa_policy_rule has changed
~ resource "okta_policy_rule_mfa" "some_mfa_policy_rule" {
id = "0pr3wfmg9wzX5x4802d7"
name = "Some policy rule"
# (6 unchanged attributes hidden)
- app_include {
- name = "okta" -> null
- type = "APP_TYPE" -> null
}
}
...
...
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# module.okta.okta_policy_rule_mfa.some_mfa_policy_rule will be updated in-place
~ resource "okta_policy_rule_mfa" "some_mfa_policy_rule" {
id = "0pr3wfmg9wzX5x4802d7"
name = "Some policy rule"
# (6 unchanged attributes hidden)
+ app_include {
+ name = "okta"
+ type = "APP_TYPE"
}
}
Expected Behavior
Resource to be configured once and state stored properly.
Actual Behavior
Running terraform plan will produce this same output every time, even after running terraform apply.
For some reason Terraform thinks the app_include section of the policy rule has been changed outside of Terraform, and thus plans to add the app_include configuration every time.
Steps to Reproduce
terraform plan
terraform apply
terraform plan
The text was updated successfully, but these errors were encountered:
Community Note
Terraform Version
Terraform v1.1.3
Affected Resource(s)
okta_policy_rule_mfa
Terraform Configuration Files
Debug Output
Expected Behavior
Resource to be configured once and state stored properly.
Actual Behavior
Running
terraform plan
will produce this same output every time, even after runningterraform apply
.For some reason Terraform thinks the
app_include
section of the policy rule has been changed outside of Terraform, and thus plans to add theapp_include
configuration every time.Steps to Reproduce
terraform plan
terraform apply
terraform plan
The text was updated successfully, but these errors were encountered: