Skip to content

Commit b91399d

Browse files
authored
omit image id in launch template (#30)
1 parent e7dd343 commit b91399d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

modules/computation/ec2.tf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ resource "aws_launch_template" "cpu" {
1515
arn = aws_iam_instance_profile.ecs_instance_role.arn
1616
}
1717

18-
image_id = jsondecode(data.aws_ssm_parameter.ecs_optimized_cpu_ami.value)["image_id"]
19-
2018
block_device_mappings {
2119
device_name = "/dev/xvda"
2220

0 commit comments

Comments
 (0)