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

Error: google-beta does not support "google_project_service_identity". #60

Closed
daniel-cit opened this issue Sep 29, 2020 · 1 comment · Fixed by #61
Closed

Error: google-beta does not support "google_project_service_identity". #60

daniel-cit opened this issue Sep 29, 2020 · 1 comment · Fixed by #61

Comments

@daniel-cit
Copy link
Contributor

make docker_test_lint is failing with:

terraform_validate ./test/setup

Error: Invalid resource type

  on .terraform/modules/project/modules/project_services/main.tf line 38, in resource "google_project_service_identity" "project_service_identities":
  38: resource "google_project_service_identity" "project_service_identities" {

The provider provider.google-beta does not support resource type
"google_project_service_identity".

It is relate to the Support service_identity #448 in the new release of project-factory

To fix we cloud bump the version of the google beta provider

From:

provider "google-beta" {
  version = "~> 3.36.0"
}

to

provider "google-beta" {
  version = "~> 3.38.0"
}

OR

add more control over the major version of the project factory module in the test setup and bump the google-beta provider later.

From:

module "project" {
  source  = "terraform-google-modules/project-factory/google"
  version = "~> 9.0"

To:

module "project" {
  source  = "terraform-google-modules/project-factory/google"
  version = "~> 9.0.0"
@bharathkkb
Copy link
Member

We should just bump the providers for now. I opened an issue to track as I have been noticing this across modules.

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 a pull request may close this issue.

2 participants