Skip to content

Commit

Permalink
Merge pull request #8370 from ministryofjustice/ifs-ami-selection
Browse files Browse the repository at this point in the history
remove data call
  • Loading branch information
roncitrus authored Oct 22, 2024
2 parents eda04d9 + 3c6633b commit bf92d55
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions terraform/environments/cdpt-ifs/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ data "aws_ecs_task_definition" "latest_task_definition" {
task_definition = "${aws_ecs_task_definition.ifs_task_definition.family}:${data.aws_ecs_task_definition.task_definitions.revision}"
}

data "aws_ssm_parameter" "ecs_optimized_ami" {
name = "/aws/service/ami-windows-latest/Windows_Server-2019-English-Full-ECS_Optimized"
}

resource "aws_iam_policy" "ec2_instance_policy" { #tfsec:ignore:aws-iam-no-policy-wildcards
name = "${local.application_name}-ec2-instance-policy"

Expand Down

0 comments on commit bf92d55

Please sign in to comment.