From 3c6633b4ff91d7751550dd230a7d42ad434f90f7 Mon Sep 17 00:00:00 2001 From: Alistair Curtis Date: Tue, 22 Oct 2024 12:08:43 +0100 Subject: [PATCH] remove data call --- terraform/environments/cdpt-ifs/ecs.tf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/terraform/environments/cdpt-ifs/ecs.tf b/terraform/environments/cdpt-ifs/ecs.tf index ca9dfb27121..e472d3cadf8 100644 --- a/terraform/environments/cdpt-ifs/ecs.tf +++ b/terraform/environments/cdpt-ifs/ecs.tf @@ -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"