Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TestAccComposer1Environment_withNodeConfig #19761

Conversation

modular-magician
Copy link
Collaborator

Fix flakey test due to permission not having time to propagate

https://hashicorp.teamcity.com/test/-6915189059560242933?currentProjectId=TerraformProviders_GoogleCloud_GOOGLE_NIGHTLYTESTS&expandTestHistoryChartSection=true

------- Stdout: -------
=== RUN   TestAccComposer1Environment_withNodeConfig
=== PAUSE TestAccComposer1Environment_withNodeConfig
=== CONT  TestAccComposer1Environment_withNodeConfig
    resource_composer_environment_test.go:850: Step 1/3 error: Error running apply: exit status 1
        Error: Error waiting to create Environment: Error waiting for Creating Environment: Error code 9, message: Failed to create environment, but no error was surfaced. This can be caused by a lack of proper permissions. Check if this environment's service [email protected] has the 'roles/composer.worker' role and there is no firewall inhibiting internal communications set. In case, it is a Compute default service account it should have Editor permissions. For the required permissions information, please, refer to https://cloud.google.com/composer/docs/how-to/access-control  https://cloud.google.com/composer/docs/troubleshooting-environment-creation page contains more troubleshooting instructions
          with google_composer_environment.test,
          on terraform_plugin_test.tf line 4, in resource "google_composer_environment" "test":
           4: resource "google_composer_environment" "test" {
--- FAIL: TestAccComposer1Environment_withNodeConfig (2737.56s)

Release Note Template for Downstream PRs (will be copied)


Derived from GoogleCloudPlatform/magic-modules#11926

[upstream:30dee30c780a874572bf672e809735ce66767fd0]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit b493805 into hashicorp:main Oct 4, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant