Skip to content

Commit 316846c

Browse files
eddalmond1ivma1-nhs
authored andcommitted
eli-139 adding dependencies for api gateway creation
1 parent e4a605e commit 316846c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

infrastructure/stacks/api-layer/api_gateway.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,14 @@ resource "aws_api_gateway_domain_name" "check_eligibility" {
9999
lifecycle {
100100
create_before_destroy = true
101101
}
102+
103+
depends_on = [
104+
aws_s3_object.pem_file,
105+
data.aws_acm_certificate.imported_cert,
106+
data.aws_acm_certificate.validation_cert,
107+
module.s3_truststore_bucket,
108+
module.eligibility_signposting_api_gateway.aws_cloudwatch_log_group.api_gateway
109+
]
102110
}
103111

104112
resource "aws_api_gateway_base_path_mapping" "eligibility-signposting-api" {

0 commit comments

Comments
 (0)