Allow upgrading AWS Terraform provider to v4.x

* https://github.com/hashicorp/terraform-provider-aws/releases/tag/v4.0.0
This commit is contained in:
Dalton Hubble 2022-02-17 09:02:42 -08:00
parent fc38ba45b1
commit 9aa99f1996
7 changed files with 19 additions and 18 deletions

View File

@ -4,9 +4,14 @@ Notable changes between versions.
## Latest ## Latest
* Kubernetes [v1.23.4](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.23.md#v1234)
* Update etcd from v3.5.1 to [v3.5.2](https://github.com/etcd-io/etcd/releases/tag/v3.5.2) * Update etcd from v3.5.1 to [v3.5.2](https://github.com/etcd-io/etcd/releases/tag/v3.5.2)
* Change default CNI `networking` provider from `calico` to `cilium` ([#1114](https://github.com/poseidon/typhoon/pull/1114)) * Change default CNI `networking` provider from `calico` to `cilium` ([#1114](https://github.com/poseidon/typhoon/pull/1114))
### AWS
* Allow upgrading AWS Terraform Provider to v4.x
### Addons ### Addons
* Align nginx-ingress `--controller-class` with `IngressClass` * Align nginx-ingress `--controller-class` with `IngressClass`

View File

@ -3,7 +3,7 @@
terraform { terraform {
required_version = ">= 0.13.0, < 2.0.0" required_version = ">= 0.13.0, < 2.0.0"
required_providers { required_providers {
aws = ">= 2.23, <= 4.0" aws = ">= 2.23, <= 5.0"
template = "~> 2.2" template = "~> 2.2"
null = ">= 2.1" null = ">= 2.1"

View File

@ -3,7 +3,7 @@
terraform { terraform {
required_version = ">= 0.13.0, < 2.0.0" required_version = ">= 0.13.0, < 2.0.0"
required_providers { required_providers {
aws = ">= 2.23, <= 4.0" aws = ">= 2.23, <= 5.0"
template = "~> 2.2" template = "~> 2.2"
ct = { ct = {

View File

@ -33,13 +33,11 @@ resource "aws_autoscaling_group" "workers" {
# used. Disable wait to avoid issues and align with other clouds. # used. Disable wait to avoid issues and align with other clouds.
wait_for_capacity_timeout = "0" wait_for_capacity_timeout = "0"
tags = [ tag {
{ key = "Name"
key = "Name" value = "${var.name}-worker"
value = "${var.name}-worker" propagate_at_launch = true
propagate_at_launch = true }
},
]
} }
# Worker template # Worker template

View File

@ -3,7 +3,7 @@
terraform { terraform {
required_version = ">= 0.13.0, < 2.0.0" required_version = ">= 0.13.0, < 2.0.0"
required_providers { required_providers {
aws = ">= 2.23, <= 4.0" aws = ">= 2.23, <= 5.0"
template = "~> 2.2" template = "~> 2.2"
null = ">= 2.1" null = ">= 2.1"

View File

@ -3,7 +3,7 @@
terraform { terraform {
required_version = ">= 0.13.0, < 2.0.0" required_version = ">= 0.13.0, < 2.0.0"
required_providers { required_providers {
aws = ">= 2.23, <= 4.0" aws = ">= 2.23, <= 5.0"
template = "~> 2.2" template = "~> 2.2"
ct = { ct = {

View File

@ -33,13 +33,11 @@ resource "aws_autoscaling_group" "workers" {
# used. Disable wait to avoid issues and align with other clouds. # used. Disable wait to avoid issues and align with other clouds.
wait_for_capacity_timeout = "0" wait_for_capacity_timeout = "0"
tags = [ tag {
{ key = "Name"
key = "Name" value = "${var.name}-worker"
value = "${var.name}-worker" propagate_at_launch = true
propagate_at_launch = true }
},
]
} }
# Worker template # Worker template