diff --git a/infrastructure/docs/client-node/instances.tf b/infrastructure/docs/client-node/instances.tf index a0bfe7e60..d6c2f6d15 100644 --- a/infrastructure/docs/client-node/instances.tf +++ b/infrastructure/docs/client-node/instances.tf @@ -37,7 +37,7 @@ resource "aws_iam_instance_profile" "client_profile" { # VMs module "vm" { source = "terraform-aws-modules/ec2-instance/aws" - version = "~> 4.1.4" + version = "~> 4.5.0" for_each = toset(var.vm_names) name = each.key ami = var.ami diff --git a/infrastructure/docs/kubernetes/cluster/k3s-cluster/instances.tf b/infrastructure/docs/kubernetes/cluster/k3s-cluster/instances.tf index 21ee30b25..d8403aa3b 100644 --- a/infrastructure/docs/kubernetes/cluster/k3s-cluster/instances.tf +++ b/infrastructure/docs/kubernetes/cluster/k3s-cluster/instances.tf @@ -7,7 +7,7 @@ resource "aws_key_pair" "ssh_key" { # master module "master" { source = "terraform-aws-modules/ec2-instance/aws" - version = "~> 3.3.0" + version = "~> 3.6.0" name = "master" ami = "ami-00f7e5c52c0f43726" instance_type = "t3a.xlarge" @@ -24,7 +24,7 @@ module "master" { module "worker" { count = var.nb_workers source = "terraform-aws-modules/ec2-instance/aws" - version = "~> 3.3.0" + version = "~> 3.6.0" name = "worker-${count.index}" ami = "ami-00f7e5c52c0f43726" instance_type = "t3a.xlarge" diff --git a/infrastructure/docs/kubernetes/cluster/kubeadm-cluster/instances.tf b/infrastructure/docs/kubernetes/cluster/kubeadm-cluster/instances.tf index 21ee30b25..d8403aa3b 100644 --- a/infrastructure/docs/kubernetes/cluster/kubeadm-cluster/instances.tf +++ b/infrastructure/docs/kubernetes/cluster/kubeadm-cluster/instances.tf @@ -7,7 +7,7 @@ resource "aws_key_pair" "ssh_key" { # master module "master" { source = "terraform-aws-modules/ec2-instance/aws" - version = "~> 3.3.0" + version = "~> 3.6.0" name = "master" ami = "ami-00f7e5c52c0f43726" instance_type = "t3a.xlarge" @@ -24,7 +24,7 @@ module "master" { module "worker" { count = var.nb_workers source = "terraform-aws-modules/ec2-instance/aws" - version = "~> 3.3.0" + version = "~> 3.6.0" name = "worker-${count.index}" ami = "ami-00f7e5c52c0f43726" instance_type = "t3a.xlarge"