File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,14 @@ module "ecs" {
144
144
145
145
port_name = local.container_name
146
146
discovery_name = local.container_name
147
+ # Example TLS configuration
148
+ # tls = {
149
+ # issuer_cert_authority = {
150
+ # aws_pca_authority_arn = aws_acmpca_certificate_authority.this.arn
151
+ # }
152
+ # role_arn = module.tls_role.iam_role_arn
153
+ # kms_key = module.tls_role.kms_key_arn
154
+ # }
147
155
}
148
156
]
149
157
}
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ resource "aws_ecs_service" "this" {
251
251
252
252
content {
253
253
dynamic "issuer_cert_authority" {
254
- for_each = tls. value . issuer_cert_authority
254
+ for_each = [ tls . value . issuer_cert_authority ]
255
255
256
256
content {
257
257
aws_pca_authority_arn = issuer_cert_authority. value . aws_pca_authority_arn
You can’t perform that action at this time.
0 commit comments