Skip to content

Commit 2cdae91

Browse files
authored
update k8s struct vars (aws#552)
1 parent ab310f0 commit 2cdae91

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

terraform/eks/daemon/credentials/pod_identity/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ resource "helm_release" "aws_observability" {
217217
{
218218
name = "clusterName"
219219
value = aws_eks_cluster.this.name
220-
},
220+
},
221221
{
222222
name = "region"
223223
value = "us-west-2"

terraform/eks/daemon/credentials/pod_identity/providers.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ provider "helm" {
2020
kubernetes = {
2121
host = aws_eks_cluster.this.endpoint
2222
cluster_ca_certificate = base64decode(aws_eks_cluster.this.certificate_authority.0.data)
23-
exec {
23+
exec = {
2424
api_version = "client.authentication.k8s.io/v1beta1"
2525
args = ["eks", "get-token", "--cluster-name", aws_eks_cluster.this.name]
2626
command = "aws"

terraform/eks/daemon/entity/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ resource "helm_release" "aws_observability" {
185185
{
186186
name = "clusterName"
187187
value = aws_eks_cluster.this.name
188-
},
188+
},
189189
{
190190
name = "region"
191191
value = "us-west-2"

terraform/eks/daemon/entity/providers.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ provider "helm" {
2020
kubernetes = {
2121
host = aws_eks_cluster.this.endpoint
2222
cluster_ca_certificate = base64decode(aws_eks_cluster.this.certificate_authority.0.data)
23-
exec {
23+
exec = {
2424
api_version = "client.authentication.k8s.io/v1beta1"
2525
args = ["eks", "get-token", "--cluster-name", aws_eks_cluster.this.name]
2626
command = "aws"

terraform/eks/deployment/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ resource "aws_eks_node_group" "this" {
4747
min_size = 1
4848
}
4949

50-
ami_type = var.k8s_version >= "1.33" ? "AL2023_x86_64_STANDARD" : "AL2_x86_64"
50+
ami_type = var.k8s_version >= "1.33" ? "AL2023_x86_64_STANDARD" : "AL2_x86_64"
5151
capacity_type = "ON_DEMAND"
5252
disk_size = 20
5353
instance_types = ["t3.medium"]

0 commit comments

Comments
 (0)