Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tf/modules/ec2/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
data "aws_ssm_parameter" "ubuntu_22_ami" {
name = "/aws/service/canonical/ubuntu/server/22.04/stable/current/amd64/hvm/ebs-gp2/ami-id"
data "aws_ssm_parameter" "ubuntu_24_ami" {
name = "/aws/service/canonical/ubuntu/server/24.04/stable/current/amd64/hvm/ebs-gp3/ami-id"
}

# Important note about security groups:
Expand Down Expand Up @@ -54,7 +54,7 @@ data "cloudinit_config" "ooni_ec2" {

resource "aws_launch_template" "ooni_ec2" {
name_prefix = "${var.name}-tmpl-"
image_id = data.aws_ssm_parameter.ubuntu_22_ami.value
image_id = data.aws_ssm_parameter.ubuntu_24_ami.value
instance_type = var.instance_type
key_name = var.key_name

Expand Down
Loading