Minor updates

This commit is contained in:
Sacha Ligthert 2022-11-16 22:43:34 +01:00
parent a14066a8d8
commit 1654b7c0cd

View File

@ -36,7 +36,7 @@ resource "aws_security_group" "k8s" {
}
resource "aws_instance" "controlplane" {
ami = "ami-0ee415e1b8b71305f"
ami = "ami-0fd8802f94ed1c969"
associate_public_ip_address = true
instance_type = "t3.large"
key_name = "overseer.ligthert.net"
@ -44,10 +44,10 @@ resource "aws_instance" "controlplane" {
Name = "controlplane"
}
root_block_device {
volume_size = "128"
volume_size = "64"
volume_type = "gp2"
}
user_data = "yum update -y"
#user_data = "sudo apt-get update -y; sudo apt-get upgrade -y"
vpc_security_group_ids = [aws_security_group.k8s.id]
}
@ -64,7 +64,7 @@ output "controlplane_instance_id" {
}
resource "aws_instance" "node" {
ami = "ami-0ee415e1b8b71305f"
ami = "ami-0fd8802f94ed1c969"
associate_public_ip_address = true
instance_type = "t3.large"
key_name = "overseer.ligthert.net"
@ -72,10 +72,10 @@ resource "aws_instance" "node" {
Name = "node"
}
root_block_device {
volume_size = "128"
volume_size = "64"
volume_type = "gp2"
}
user_data = "yum update -y"
#user_data = "sudo apt-get update -y; sudo apt-get upgrade -y"
vpc_security_group_ids = [aws_security_group.k8s.id]
}