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

CloudFunctions support location euw2 #3554

Closed
perriea opened this issue May 4, 2019 · 2 comments
Closed

CloudFunctions support location euw2 #3554

perriea opened this issue May 4, 2019 · 2 comments

Comments

@perriea
Copy link

perriea commented May 4, 2019

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment. If the issue is assigned to the "modular-magician" user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If the issue is assigned to a user, that user is claiming responsibility for the issue. If the issue is assigned to "hashibot", a community member has claimed the issue already.

Description

Add support for CloudFunctions europe-west2 and other missing regions on the provider.
No prob to import the function in the state but impossible to apply.
Thank you for your work !

New or Affected Resource(s)

  • google_cloudfunctions_function
Terraform v0.11.13
+ provider.archive v1.2.2
+ provider.google v2.5.1
+ provider.google-beta v2.5.1

Apply: 😢

terraform apply
data.archive_file.function-cluster-creation-infos: Refreshing state...
data.terraform_remote_state.storage: Refreshing state...
data.terraform_remote_state.pubsub: Refreshing state...
data.terraform_remote_state.iam: Refreshing state...

Error: Error running plan: 1 error(s) occurred:

* module.func-infos-deploy-cluster.google_cloudfunctions_function.function: expected region to be one of [us-central1 us-east1 europe-west1 asia-northeast1], got europe-west2

Import: 👌

terraform import module.func-infos-deploy-cluster.google_cloudfunctions_function.function ****/europe-west2/func-infos-cluster-deployment-labs
module.func-infos-deploy-cluster.google_cloudfunctions_function.function: Importing from ID "****/europe-west2/func-infos-cluster-deployment-labs"...
module.func-infos-deploy-cluster.google_cloudfunctions_function.function: Import complete!
  Imported google_cloudfunctions_function (ID: ****/europe-west2/func-infos-cluster-deployment-labs)
module.func-infos-deploy-cluster.google_cloudfunctions_function.function: Refreshing state... (ID: ****/europe-west2/func-infos-cluster-deployment-labs)

Import successful!

The resources that were imported are shown above. These resources are now in
your Terraform state and will henceforth be managed by Terraform.

References

@ghost ghost added the enhancement label May 4, 2019
@rileykarson
Copy link
Collaborator

rileykarson commented May 6, 2019

Fixed by #3530 in 2.6.0 (which should be available ~tomorrow)

@ghost
Copy link

ghost commented Jun 6, 2019

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Jun 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants