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

4-projects shared step fails with error: string validation failed <PROJECT-ID>_cloudbuild #770

Closed
daniel-cit opened this issue Aug 4, 2022 · 0 comments · Fixed by #771
Closed

Comments

@daniel-cit
Copy link
Contributor

TL;DR

4-projects shared step fails with error: string validation failed <PROJECT-ID>_cloudbuild

Expected behavior

4-projects shared step run without error

Observed behavior

step 4-projects shared fails with error:

error: string validation failed <PROJECT-ID>_cloudbuild
  with module.infra_pipelines.google_storage_bucket.pipeline_infra["cloudbuild"],
  on ../../modules/infra_pipelines/main.tf line 49, in resource "google_storage_bucket" "pipeline_infra":
  49: resource "google_storage_bucket" "pipeline_infra" {

Terraform Configuration

default configuration at 22022-08-04

Terraform Version

Terraform v0.13.7

Additional information

there is a fix for this error hashicorp/terraform-provider-google#12248 to enter a new release

A work around is to configure the version on the infra pipeline module to avoid the version with and issue until the fix is in a new release

https://github.com/terraform-google-modules/terraform-example-foundation/blob/master/4-projects/modules/infra_pipelines/versions.tf

    google = {
      source  = "hashicorp/google"
      version = ">= 3.50, <= 4.30.0"
    }
    google-beta = {
      source  = "hashicorp/google-beta"
      version = ">= 3.50, <= 4.30.0"
    }
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