Skip to content

Commit 7517345

Browse files
committed
CCM-11586: Correct references to new modules
1 parent dc0ef78 commit 7517345

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

infrastructure/terraform/components/api/api_gateway_domain.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ resource "aws_api_gateway_domain_name" "main" {
99
}
1010

1111
depends_on = [
12-
aws_s3_bucket.truststore,
12+
module.domain_truststore,
1313
aws_s3_object.placeholder_truststore
1414
]
1515

1616
mutual_tls_authentication {
17-
truststore_uri = "s3://${aws_s3_bucket.truststore.id}/${aws_s3_object.placeholder_truststore[0].key}"
17+
truststore_uri = "s3://${module.domain_truststore.id}/${aws_s3_object.placeholder_truststore[0].key}"
1818
truststore_version = aws_s3_object.placeholder_truststore[0].version_id
1919
}
2020

@@ -36,12 +36,12 @@ resource "aws_api_gateway_domain_name" "main_nonprod" {
3636
}
3737

3838
depends_on = [
39-
aws_s3_bucket.truststore,
39+
module.domain_truststore,
4040
aws_s3_object.placeholder_truststore_nonprod
4141
]
4242

4343
mutual_tls_authentication {
44-
truststore_uri = "s3://${aws_s3_bucket.truststore.id}/${aws_s3_object.placeholder_truststore_nonprod[0].key}"
44+
truststore_uri = "s3://${module.domain_truststore.id}/${aws_s3_object.placeholder_truststore_nonprod[0].key}"
4545
truststore_version = aws_s3_object.placeholder_truststore_nonprod[0].version_id
4646
}
4747
}

0 commit comments

Comments
 (0)