Skip to content

Commit

Permalink
Fix AMI id
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Mar 8, 2024
1 parent 78aa7ad commit fdf7abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tf/environments/prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ resource "aws_security_group" "ooni_nginx_sg" {

resource "aws_launch_template" "ooni_nginx" {
name_prefix = "nginx-template-"
image_id = jsondecode(data.aws_ssm_parameter.ubuntu_22_ami.value)["image_id"]
image_id = data.aws_ssm_parameter.ubuntu_22_ami.value
instance_type = "t2.micro"
key_name = var.key_name

Expand Down

0 comments on commit fdf7abd

Please sign in to comment.