File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
infrastructure/terraform/components/api Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments