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): TestAccOrgPolicyPolicy_OrganizationPolicy #18278

Open BBBmau opened 4 months ago

BBBmau commented 4 months ago

Impacted tests

Affected Resource(s)

Failure rates

Message(s)

------- Stdout: -------
=== RUN   TestAccOrgPolicyPolicy_OrganizationPolicy
=== PAUSE TestAccOrgPolicyPolicy_OrganizationPolicy
=== CONT  TestAccOrgPolicyPolicy_OrganizationPolicy
    vcr_utils.go:152: Step 1/4 error: Error running apply: exit status 1
        Error: Error creating Policy: Resource already exists - apply blocked by lifecycle params: &orgpolicy.Policy{Name:(*string)(0xc0013efb30), Spec:(*orgpolicy.PolicySpec)(0xc0015ca840), DryRunSpec:(*orgpolicy.PolicyDryRunSpec)(0x63762c0), Etag:(*string)(0xc001439650), Parent:(*string)(0xc0013efc70)}.
          with google_org_policy_policy.primary,
          on terraform_plugin_test.tf line 2, in resource "google_org_policy_policy" "primary":
           2: resource "google_org_policy_policy" "primary" {
--- FAIL: TestAccOrgPolicyPolicy_OrganizationPolicy (5.69s)
FAIL

Nightly build test history

b/344606122

nehalk-tf commented 4 months ago

Is this test still failing? It runs successfully on my local machine.