From 5652d2d1b4a919f9e46df5251abcb0619d60f4e1 Mon Sep 17 00:00:00 2001 From: Alis Akers Date: Thu, 3 Oct 2024 09:31:15 -0700 Subject: [PATCH] fix for demo --- terraform/implementation/ecs/main.tf | 6 ++++-- terraform/modules/ecs/_data.tf | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/terraform/implementation/ecs/main.tf b/terraform/implementation/ecs/main.tf index 254f717..078942d 100644 --- a/terraform/implementation/ecs/main.tf +++ b/terraform/implementation/ecs/main.tf @@ -18,7 +18,6 @@ module "ecs" { private_subnet_ids = flatten(module.vpc.private_subnets) vpc_id = module.vpc.vpc_id region = var.region - alb_internal = false owner = var.owner project = var.project @@ -27,5 +26,8 @@ module "ecs" { # If intent is to pull from the phdi GHCR, set disable_ecr to true (default is false) # disable_ecr = true # If intent is to use the non-integrated viewer, set non_integrated_viewer to true (default is false) - # non_integrated_viewer = "true" + non_integrated_viewer = true + ecr_viewer_app_env = "test" + alb_internal = false + phdi_version = "v1.6.9" } diff --git a/terraform/modules/ecs/_data.tf b/terraform/modules/ecs/_data.tf index 84b5df3..7744a50 100644 --- a/terraform/modules/ecs/_data.tf +++ b/terraform/modules/ecs/_data.tf @@ -18,6 +18,7 @@ data "aws_iam_policy_document" "ecr_viewer_s3" { "s3:PutObjectAcl", "s3:GetObject", "s3:GetObjectAcl", + "s3:ListBucket", ] resources = [ aws_s3_bucket.ecr_viewer.arn,