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

Feature: Use google-beta provider #89

Closed
Lirt opened this issue Jan 2, 2020 · 3 comments
Closed

Feature: Use google-beta provider #89

Lirt opened this issue Jan 2, 2020 · 3 comments

Comments

@Lirt
Copy link

Lirt commented Jan 2, 2020

Would it be possible to allow using of google-beta provider?

Reason I ask is that IAM policies currently fail due to using newer policy version, which is not available in stable provider (hashicorp/terraform-provider-google#5218). I would like to specify that I want to use google-beta provider using some variable.

@morgante
Copy link
Contributor

morgante commented Jan 6, 2020

Could you try setting a provider alias?

provider "google-beta" {
  alias  = "gcp-beta"
}

module "example" {
  source    = "./example"
  providers = {
    google = "google-beta.gcp-beta"
  }
}

@Lirt
Copy link
Author

Lirt commented Jan 7, 2020

I'm going to test it.

@Lirt
Copy link
Author

Lirt commented Jan 7, 2020

It works fine, thank you.

@Lirt Lirt closed this as completed Jan 7, 2020
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

No branches or pull requests

2 participants