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: add google_storage_bucket in bootstrap module #241

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

k9ert
Copy link

@k9ert k9ert commented Jan 6, 2025

Without this, i get:

│ Error: googleapi: Error 412: Request violates constraint 'constraints/storage.uniformBucketLevelAccess', conditionNotMet
│ 
│   with module.bootstrap.google_storage_bucket.tf_state,
│   on .terraform/modules/bootstrap/modules/bootstrap/gcp/tf-state-bucket.tf line 1, in resource "google_storage_bucket" "tf_state":
│    1: resource "google_storage_bucket" "tf_state" {
│ 

This seems to be related to the way new organisations are setup by default in GCP as this contraint is coming from the org.

https://cloud.google.com/storage/docs/uniform-bucket-level-access

@k9ert k9ert changed the title fixing google_storage_bucket in bootstrap module fix: add google_storage_bucket in bootstrap module Jan 8, 2025
@openoms openoms requested a review from krtk6160 January 8, 2025 12:04
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