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" } }