Skip to content

Commit

Permalink
Merge pull request #7056 from ministryofjustice/ifs-dynamic-ami
Browse files Browse the repository at this point in the history
minor change to initiate ami update
  • Loading branch information
roncitrus authored Jul 11, 2024
2 parents c6d14db + 588cc19 commit 9995392
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions terraform/environments/cdpt-ifs/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -547,8 +547,3 @@ resource "aws_iam_role_policy_attachment" "bastion_managed" {
policy_arn = "arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"
role = aws_iam_role.ec2_instance_role.name
}

output "ami_id" {
value = jsondecode(data.aws_ssm_parameter.ecs_optimized_ami.value)["image_id"]
sensitive = true
}

0 comments on commit 9995392

Please sign in to comment.