Terraform allows users to set value of "operations_routing_rule: is_default" even though it shouldn't

XMLWordPrintable

    • 1
    • Minor

      Issue Summary

      Terraform allows users to set value of "operations_routing_rule" "is_default =true" even though it shouldn't. 

      This property is supposed to be read-only, but you can set it using the Terraform provider. If you try to set it to "true," this does not work properly, despite it seems it would.

      Steps to Reproduce

      1. Use Terraform version 1.9.3
      2. Create a routing rule using the provided Terraform code with 'is_default' set to true.
      3. Apply the changes and observe the error message regarding the inconsistent result for the 'is_default' attribute.

      Expected Results

      At the moment, this property is supposed to be read-only, so the system should not accept user editing its value and the error should be pretty clear about that.

      Actual Results

      The below exception is thrown in the xxxxxxx.log file:

      Error: Provider produced inconsistent result after apply
      
      When applying changes to
      atlassian-operations_routing_rule.default_routing_rule["XXXXX"]
      provider "provider[\"registry.terraform.io/atlassian/atlassian-operations\"]"
      produced an unexpected new value: .is_default: was cty.True, but now cty.False. 

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Thiago Behm.
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: