Skip to content

Commit

Permalink
updated scripts for tf 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zaratsian committed Oct 12, 2021
1 parent f35ad0c commit a0325c2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/terraform/e2e/module.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ terraform {
required_version = ">= 1.0.0"
required_providers {
google = {
source = "google"
source = "hashicorp/google"
version = "~> 3.88"
}
helm = {
Expand Down
2 changes: 1 addition & 1 deletion examples/terraform-submodules/eks/module.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ variable "node_count" {
}

provider "aws" {
region = var.region
region = var.region
}

variable "machine_type" { default = "t2.large" }
Expand Down
2 changes: 1 addition & 1 deletion install/terraform/modules/aks/aks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@


terraform {
required_version = ">= 1.0.0"
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 2.66"
}
}
required_version = ">= 1.0.0"
}

provider "azurerm" {
Expand Down
4 changes: 2 additions & 2 deletions install/terraform/modules/helm3/helm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# This is a Helm 3.x module, and is the module that should be actively used.
#
terraform {
required_version = ">= 1.0"
required_version = ">= 1.0.0"
required_providers {
helm = {
version = "~> 2.3"
Expand All @@ -43,7 +43,7 @@ resource "helm_release" "agones" {
namespace = "agones-system"
create_namespace = true

# Use terraform of the latest >=1.0 version
# Use terraform of the latest >=1.0.0 version
values = [
length(var.values_file) == 0 ? "" : file(var.values_file),
]
Expand Down

0 comments on commit a0325c2

Please sign in to comment.