Skip to content

Commit

Permalink
require aws provider version >= 3.49.0
Browse files Browse the repository at this point in the history
Since #240 we require secret encrytion on all clusters. Users hit this bug after enabling secret encryption hashicorp/terraform-provider-aws#19986 unless using aws provider >=3.49.0
  • Loading branch information
ettiee committed Nov 17, 2021
1 parent fbd32df commit d2d3c3f
Show file tree
Hide file tree
Showing 12 changed files with 40 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ to assume a common IAM role in the aws provider definition.
```hcl
provider "aws" {
region = "us-east-1"
version = "3.5.0"
version = "3.49.0"
assume_role {
role_arn = "arn:aws:iam::<your account id>:role/Terraform"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/cluster/bottlerocket_node_group/main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
provider "aws" {
region = "us-east-1"
version = "3.5.0"
version = "3.49.0"
allowed_account_ids = ["214219211678"]
}

Expand Down
2 changes: 1 addition & 1 deletion examples/cluster/environment/main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
provider "aws" {
region = "us-east-1"
version = "3.5.0"
version = "3.49.0"
allowed_account_ids = ["214219211678"]
}

Expand Down
2 changes: 1 addition & 1 deletion examples/cluster/gpu_node_group/main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
provider "aws" {
region = "us-east-1"
version = "3.5.0"
version = "3.49.0"
allowed_account_ids = ["214219211678"]
}

Expand Down
2 changes: 1 addition & 1 deletion examples/cluster/main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
provider "aws" {
region = "us-east-1"
version = "3.5.0"
version = "3.49.0"
allowed_account_ids = ["214219211678"]
}

Expand Down
2 changes: 1 addition & 1 deletion examples/cluster/standard_node_group/main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
provider "aws" {
region = "us-east-1"
version = "3.5.0"
version = "3.49.0"
allowed_account_ids = ["214219211678"]
}

Expand Down
2 changes: 1 addition & 1 deletion examples/vpc/main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
provider "aws" {
region = "us-east-1"
version = "3.5.0"
version = "3.49.0"
allowed_account_ids = ["214219211678"]
}

Expand Down
8 changes: 8 additions & 0 deletions modules/asg_node_group/providers.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.49"
}
}
}
8 changes: 8 additions & 0 deletions modules/cluster/providers.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.49.0"
}
}
}
8 changes: 8 additions & 0 deletions modules/iam/providers.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.49.0"
}
}
}
8 changes: 8 additions & 0 deletions modules/vpc/providers.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.49.0"
}
}
}
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
terraform {
required_version = ">= 0.12"
required_version = ">= 0.12.31"
}

0 comments on commit d2d3c3f

Please sign in to comment.