diff --git a/terraform/node/ec2/asg/main.tf b/terraform/node/ec2/asg/main.tf index 7c6e5462..64e76a3a 100644 --- a/terraform/node/ec2/asg/main.tf +++ b/terraform/node/ec2/asg/main.tf @@ -53,7 +53,7 @@ data "aws_ami" "ami" { most_recent = true filter { name = "name" - values = ["al20*-ami-minimal-*-x86_64"] + values = ["al20*-ami-minimal-2023.6.20241031.0-*-x86_64"] } filter { name = "state" diff --git a/terraform/node/ec2/default/main.tf b/terraform/node/ec2/default/main.tf index 5b8c8745..256ca1b3 100644 --- a/terraform/node/ec2/default/main.tf +++ b/terraform/node/ec2/default/main.tf @@ -46,7 +46,7 @@ data "aws_ami" "ami" { most_recent = true filter { name = "name" - values = ["al20*-ami-minimal-*-${var.cpu_architecture}"] + values = ["al20*-ami-minimal-2023.6.20241031.0-*-${var.cpu_architecture}"] } filter { name = "state"