Skip to content

Commit

Permalink
fix: Fix missing Terraform module attribution (#973)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-cit authored Jun 2, 2023
1 parent 9d1b1bd commit d1d2973
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 2-environments/modules/env_baseline/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ terraform {
}

provider_meta "google" {
module_name = "blueprints/terraform/terraform-example-foundation:org/v3.0.0"
module_name = "blueprints/terraform/terraform-example-foundation:environments/v3.0.0"
}

provider_meta "google-beta" {
module_name = "blueprints/terraform/terraform-example-foundation:org/v3.0.0"
module_name = "blueprints/terraform/terraform-example-foundation:environments/v3.0.0"
}
}
8 changes: 8 additions & 0 deletions 3-networks-dual-svpc/modules/base_env/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,12 @@ terraform {
version = ">= 3.50"
}
}

provider_meta "google" {
module_name = "blueprints/terraform/terraform-example-foundation:networks-dual-svpc/v3.0.0"
}

provider_meta "google-beta" {
module_name = "blueprints/terraform/terraform-example-foundation:networks-dual-svpc/v3.0.0"
}
}
8 changes: 8 additions & 0 deletions 3-networks-hub-and-spoke/modules/base_env/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,12 @@ terraform {
version = ">= 3.50"
}
}

provider_meta "google" {
module_name = "blueprints/terraform/terraform-example-foundation:networks-hub-and-spoke/v3.0.0"
}

provider_meta "google-beta" {
module_name = "blueprints/terraform/terraform-example-foundation:networks-hub-and-spoke/v3.0.0"
}
}
7 changes: 7 additions & 0 deletions 4-projects/modules/base_env/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,11 @@ terraform {
}
}

provider_meta "google" {
module_name = "blueprints/terraform/terraform-example-foundation:projects/v3.0.0"
}

provider_meta "google-beta" {
module_name = "blueprints/terraform/terraform-example-foundation:projects/v3.0.0"
}
}

0 comments on commit d1d2973

Please sign in to comment.