canada-ca / accelerators_accelerateurs-gcp

[GCP] Tools and templates to accelerate GC service delivery. Outils et modèles pour accélérer la prestation de services du GC.
MIT License
10 stars 8 forks source link

Rerun of terraform causes regional org policy hidden attribute change northamerica-northeast1 for module.org-policy.google_organization_policy.org_policy_list_allow_values[0] #56

Open obriensystems opened 1 year ago

obriensystems commented 1 year ago

Need to investigate the change and effect of the following

erraform will perform the following actions:

  # module.org-policy.google_organization_policy.org_policy_list_allow_values[0] will be updated in-place
  ~ resource "google_organization_policy" "org_policy_list_allow_values" {
        id          = "743091813895/constraints/gcp.resourceLocations"
        # (5 unchanged attributes hidden)

      ~ list_policy {
            # (1 unchanged attribute hidden)

          ~ allow {
              ~ values = [
                  - "in:northamerica-northeast1-locations",
                  - "in:northamerica-northeast2-locations",
                  + "northamerica-northeast1",
                  + "northamerica-northeast2",
                ]
                # (1 unchanged attribute hidden)
            }
        }
    }

Plan: 0 to add, 1 to change, 0 to destroy.
obriensystems commented 1 year ago

No effect - defer for now

Plan: 0 to add, 1 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

module.org-policy.google_organization_policy.org_policy_list_allow_values[0]: Modifying... [id=743091813895/constraints/gcp.resourceLocations]
module.org-policy.google_organization_policy.org_policy_list_allow_values[0]: Modifications complete after 0s [id=743091813895/constraints/gcp.resourceLocations]

Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
Screen Shot 2022-11-20 at 10 29 22