Skip to content

Commit 27e1cc6

Browse files
authored
AWS Terraform update to disable source dest check (#125)
This is to fix the connectivity between nodes, to avoid AWS dropping packets in multi-node clusters. Signed-off-by: mviitanen <[email protected]>
1 parent e3b3196 commit 27e1cc6

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

examples/aws-tf/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
}
44

55
provider "aws" {
6-
region = "eu-west-1"
6+
region = "eu-north-1"
77
}
88

99
resource "tls_private_key" "k0sctl" {
@@ -83,7 +83,7 @@ locals {
8383
}
8484
]
8585
k0s = {
86-
version = "0.12.1"
86+
version = "0.13.1"
8787
}
8888
}
8989
}

examples/aws-tf/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ variable "worker_count" {
1515

1616
variable "cluster_flavor" {
1717
type = string
18-
default = "t2.large"
18+
default = "t3.large"
1919
}

examples/aws-tf/worker.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ resource "aws_instance" "cluster-workers" {
88
key_name = aws_key_pair.cluster-key.key_name
99
vpc_security_group_ids = [aws_security_group.cluster_allow_ssh.id]
1010
associate_public_ip_address = true
11+
source_dest_check = false
1112

1213
root_block_device {
1314
volume_type = "gp2"
1415
volume_size = 20
1516
}
16-
}
17+
}

0 commit comments

Comments
 (0)