Skip to content

Commit

Permalink
[PRMP-1123] Allow TEMPORARY ecr and ecs creation for sandboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadIqbalAD-NHS committed Nov 8, 2024
1 parent e579d19 commit 081ab1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion infrastructure/ecr.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ module "ndr-docker-ecr-ui" {
owner = var.owner
}
module "ndr-docker-ecr-weekly-ods-update" {
count = local.is_sandbox ? 0 : 1
# TODO: PRMP-1123 - UNCOMMENT BELOW BEFORE MERGE INTO MAIN
# count = local.is_sandbox ? 0 : 1
source = "./modules/ecr/"
app_name = "${terraform.workspace}-weekly-ods-update"

Expand Down
3 changes: 2 additions & 1 deletion infrastructure/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ module "ndr-ecs-container-port-ssm-parameter" {
}

module "ndr-ecs-fargate-ods-update" {
count = local.is_sandbox ? 0 : 1
# TODO: PRMP-1123 - UNCOMMENT BELOW BEFORE MERGE INTO MAIN
# count = local.is_sandbox ? 0 : 1
source = "./modules/ecs"
ecs_cluster_name = "ods-weekly-update"
vpc_id = module.ndr-vpc-ui.vpc_id
Expand Down

0 comments on commit 081ab1c

Please sign in to comment.