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
Not able to successfully run: /bin/bash -c cft test run TestOrg --stage destroy --verbose --test-dir /workspace/terraform-example-foundation/test/integration
Either locally or in Cloud Build pipeline.
Expected behavior
"cft test run TestOrg --stage destroy" destroys all Org resources.
Observed behavior
cft test run TestOrg --stage destroy fails with error: Error: unable to make request: request failed, retries exceeded: %!s(<nil>) while destroying module.logs_export.terracurl_request.exclude_external_logs[0] resource.
TL;DR
Not able to successfully run:
/bin/bash -c cft test run TestOrg --stage destroy --verbose --test-dir /workspace/terraform-example-foundation/test/integration
Either locally or in Cloud Build pipeline.
Expected behavior
"cft test run TestOrg --stage destroy" destroys all Org resources.
Observed behavior
cft test run TestOrg --stage destroy
fails with error:Error: unable to make request: request failed, retries exceeded: %!s(<nil>)
while destroying module.logs_export.terracurl_request.exclude_external_logs[0] resource.Terraform configuration is to just apply and then destroy this module: https://github.com/terraform-google-modules/terraform-example-foundation/blob/main/1-org/modules/centralized-logging
Or specifically this resource.
terraform-example-foundation/1-org/modules/centralized-logging/main.tf
Line 188 in e3fc764
Terraform Configuration
Terraform Version
Terraform Provider Versions
Providers required by configuration: . ├── provider[registry.terraform.io/devops-rob/terracurl] 1.2.1 └── provider[registry.terraform.io/hashicorp/google]
Additional information
Issue fixed by defining destroy steps to "terracurl_request" "exclude_external_logs" resource:
Can create a PR for that if only I will be able to pass integration test pipeline (I'm complaining on it randomly failing in another issue).
The text was updated successfully, but these errors were encountered: