hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.33k stars 1.73k forks source link

Failing test(s): TestAccContainerAttachedCluster_containerAttachedClusterFullExample #19751

Closed ScottSuarez closed 3 days ago

ScottSuarez commented 2 weeks ago

Impacted tests

Affected Resource(s)

Failure rates

Message(s)

------- Stdout: -------
=== RUN   TestAccContainerAttachedCluster_update
=== PAUSE TestAccContainerAttachedCluster_update
=== CONT  TestAccContainerAttachedCluster_update
    resource_container_attached_cluster_update_test.go:19: Step 1/10 error: Error running apply: exit status 1
        Error: Error creating Cluster: googleapi: Error 400: Invalid Security Posture config. Security Posture is not supported in this version., field: attached_cluster.security_posture_config
        Details:
        [
          {
            "@type": "type.googleapis.com/google.rpc.BadRequest",
            "fieldViolations": [
              {
                "description": "Invalid Security Posture config. Security Posture is not supported in this version.",
                "field": "attached_cluster.security_posture_config"
              }
            ]
          }
        ]
          with google_container_attached_cluster.primary,
          on terraform_plugin_test.tf line 10, in resource "google_container_attached_cluster" "primary":
          10: resource "google_container_attached_cluster" "primary" {
--- FAIL: TestAccContainerAttachedCluster_update (9.08s)
FAIL

Nightly build test history

b/372032640

ScottSuarez commented 3 days ago

fixed by https://github.com/GoogleCloudPlatform/magic-modules/pull/12048/files