From 2d6bbec5d3b2a76d7ac6d7ae42713bf436375c97 Mon Sep 17 00:00:00 2001 From: soji-kainos-nhs-temp Date: Thu, 2 Apr 2026 18:13:40 +0100 Subject: [PATCH] NPT-959 Enable API gateway custom domain in PROD --- infrastructure/stacks/account_wide/vpce.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/stacks/account_wide/vpce.tf b/infrastructure/stacks/account_wide/vpce.tf index c2c57577..c9a07935 100644 --- a/infrastructure/stacks/account_wide/vpce.tf +++ b/infrastructure/stacks/account_wide/vpce.tf @@ -46,7 +46,7 @@ module "vpc_endpoints" { service_type = "Interface" subnet_ids = module.vpc.private_subnets security_group_ids = [aws_security_group.vpc_endpoints.id] - policy = data.terraform_remote_state.github_runner.outputs.endpoint_policies["execute_api"] + policy = data.terraform_remote_state.github_runner.outputs.endpoint_policies["executeapi"] private_dns_enabled = true tags = { Name = "${local.resource_prefix}-execute-api-vpc-endpoint" } } @@ -149,7 +149,7 @@ module "vpc_endpoints" { service_type = "Interface" subnet_ids = module.vpc.private_subnets security_group_ids = [aws_security_group.vpc_endpoints.id] - policy = data.terraform_remote_state.github_runner.outputs.endpoint_policies["access_analyzer"] + policy = data.terraform_remote_state.github_runner.outputs.endpoint_policies["accessanalyzer"] private_dns_enabled = true tags = { Name = "${local.resource_prefix}-access-analyzer-vpc-endpoint" } }