Skip to content

Commit

Permalink
fix: Allow explicit provider configuration in module (#624)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrink authored Sep 30, 2021
1 parent 94542ac commit 621c527
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
9 changes: 8 additions & 1 deletion modules/gsuite_enabled/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,15 @@

terraform {
required_version = ">= 0.13"

required_providers {
google = {
source = "hashicorp/google"
version = ">= 3.50, < 4.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 3.50, < 4.0"
}
gsuite = {
source = "DeviaVir/gsuite"
version = "~> 0.1"
Expand Down
10 changes: 10 additions & 0 deletions modules/svpc_service_project/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@

terraform {
required_version = ">=0.13.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 3.50, < 4.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 3.50, < 4.0"
}
}
provider_meta "google" {
module_name = "blueprints/terraform/terraform-google-project-factory:svpc_service_project/v11.2.1"
}
Expand Down
10 changes: 10 additions & 0 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@

terraform {
required_version = ">=0.13.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 3.50, < 4.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 3.50, < 4.0"
}
}
provider_meta "google" {
module_name = "blueprints/terraform/terraform-google-project-factory/v11.2.1"
}
Expand Down

0 comments on commit 621c527

Please sign in to comment.