-
Notifications
You must be signed in to change notification settings - Fork 722
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
Error waiting for Creating OrganizationSecurityPolicy #1369
Comments
We found something interesting in DEBUG:
With this deprecated error in mind, we took a look at the running version of the module/hierarchical_firewall_policy/versions.tf :
Despite the effort to change the module version to 3.82, that doesnt fixed our issue. |
See #1354 |
Thanks @daniel-cit , we applied the version and api method change.
From the official doc both, the org or folder are supported. However, for some reason we dont understand why the debug logs point to a project not found issue.
debug level logs:
|
TL;DR
While trying to deploy the terraform foundation, we are facing an error on Step 3-networks-dual-svpc.
We followed all the steps including exporting all the variables and granted all necessary permissions to the serviceAccount:
On step 20.Run apply shared we are not able to create the google_compute_organization_security_policy. I mean the policy is created but seems not able to associate all the folders to the policy, failing after 21 retries everytime.
Expected behavior
Able to run the module ../../modules/hierarchical_firewall_policy properly without issue.
Observed behavior
There's more interesting information after adding DEBUG mode:
As we can see above, the error message fails at looking for a project, however in the hierarchical_firewall.tf file the module is looking for folders, not projects:
Terraform Configuration
Terraform Version
The text was updated successfully, but these errors were encountered: