Open SarahFrench opened 3 months ago
This has also been failing on PRs
This looks relevant: https://cloud.google.com/appengine/docs/standard/nodejs/release-notes#July_12_2024
Deployments for new projects might be impacted from the following changes to org policies:
Starting in May 2024, Google Cloud enforces secure-by-default organization policies for all organization resources. This policy prevents App Engine from granting the Editor role to the App Engine default services accounts by default.
Starting in June 2024, Cloud Build has changed the default behavior for how Cloud Build uses service accounts in new projects. This change is detailed in Cloud Build Service Account Change. As a result of this change, new projects deploying versions for the first time may be using the default App Engine service account with insufficient permissions for deploying versions.
If you are impacted by this change you can do one of the following:
Grant the Editor role to the App Engine default service account.
Review the Cloud Build guidance on changes to the default service account and opt out of these changes.
This PR attempts to fix the permissions issues but it doesn't avoid the error happening, despite there being a wait to allow the new permissions to propagate: https://github.com/GoogleCloudPlatform/magic-modules/pull/11326
Not sure what the problem is, and I'm not going to proceed with that PR currently. Hoping for input from the service team
Impacted tests
TestAccAppEngineStandardAppVersion_update TestAccIapAppEngineServiceIamBindingGenerated TestAccIapAppEngineServiceIamBindingGenerated_withAndWithoutCondition TestAccIapAppEngineServiceIamBindingGenerated_withCondition TestAccIapAppEngineServiceIamMemberGenerated TestAccIapAppEngineServiceIamMemberGenerated_withAndWithoutCondition TestAccIapAppEngineServiceIamMemberGenerated_withCondition TestAccIapAppEngineServiceIamPolicyGenerated TestAccIapAppEngineServiceIamPolicyGenerated_withCondition TestAccAppEngineFlexibleAppVersion_update
Affected Resource(s)
Failure rates
Message(s)
Nightly build test history
https://hashicorp.teamcity.com/test/3712244440130588461?currentProjectId=TerraformProviders_GoogleCloud_GOOGLE_BETA_NIGHTLYTESTS&expandTestHistoryChartSection=true
b/357622612