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

Add attributes for gcs backend to specify an existing bucket in another project #24716

Closed
Reifier opened this issue Apr 20, 2020 · 2 comments · Fixed by #26700
Closed

Add attributes for gcs backend to specify an existing bucket in another project #24716

Reifier opened this issue Apr 20, 2020 · 2 comments · Fixed by #26700

Comments

@Reifier
Copy link

Reifier commented Apr 20, 2020

Current Terraform Version

Terraform v0.12.21
+ provider.google v3.16.0
+ provider.google-beta v3.9.0
+ provider.kubernetes v1.10.0
+ provider.random v2.2.1

Use-cases

Having provider creating project resources including the project itself, but being able to specify a bucket in existing project with directive independent of provider.

Attempted Solutions

Attempted to specify an existing bucket as a gcs backend

Proposal

See linked issue for more details.

References

hashicorp/terraform-provider-google#6117

@Reifier
Copy link
Author

Reifier commented Apr 20, 2020

Another alternative I can see is creating an alias provider with another set of credentials and then passing the provider explicitly:

  backend "gcs" {
    provider = my_aliased_provider
  }

@ghost
Copy link

ghost commented Dec 7, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants