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

Buckets for the infra pipeline create in step 4 should used the default region provided by the user #666

Closed
daniel-cit opened this issue Mar 28, 2022 · 0 comments · Fixed by #667

Comments

@daniel-cit
Copy link
Contributor

TL;DR

The Buckets created for for the infra pipeline create in step 4 :

  • Terraform state bucket
  • Cloud build artifacts bucket
  • Cloud build default bucket

should used the default region provided by the user

Expected behavior

The three buckets

  • Terraform state bucket
  • Cloud build artifacts bucket
  • Cloud build default bucket

Should be create in the default_region provided by the user

Observed behavior

Buckets

  • Terraform state bucket
  • Cloud build artifacts bucket

are always created in the region us-central1

And the Cloud build default bucket (source staging bucket) is create in the multi-region us

Terraform Configuration

repo was deployed using the defaults values but changing the regions so that they are in Europe.

Terraform Version

Terraform v1.0.6
on linux_amd64

Additional information

The Cloud build default bucket is created automatically in the us location when the cloud build API is used by the first time.
A bucket with the name <PROJECT_ID>_cloudbuild can be created in the selected region before the creation of the first build.
This bucket will then be used by cloud build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant