File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ data "aws_iam_policy_document" "task_exec" {
282282 }
283283
284284 dynamic "condition" {
285- for_each = statement. value . conditions != null ? statement. value . conditions : []
285+ for_each = statement. value . condition != null ? statement. value . condition : []
286286
287287 content {
288288 test = condition. value . test
Original file line number Diff line number Diff line change @@ -55,10 +55,10 @@ locals {
5555 portMappings = var.portMappings != null ? [for p in var . portMappings : { for k , v in p : k => v if v != null }] : null
5656 privileged = local.is_not_windows ? var.privileged : null
5757 pseudoTerminal = var.pseudoTerminal
58- restartPolicy = { for k , v in var . restartPolicy : k => v if v != null }
5958 readonlyRootFilesystem = local.is_not_windows ? var.readonlyRootFilesystem : null
6059 repositoryCredentials = var.repositoryCredentials
6160 resourceRequirements = var.resourceRequirements
61+ restartPolicy = { for k , v in var . restartPolicy : k => v if v != null }
6262 secrets = var.secrets
6363 startTimeout = var.startTimeout
6464 stopTimeout = var.stopTimeout
Original file line number Diff line number Diff line change @@ -657,7 +657,7 @@ data "aws_iam_policy_document" "service" {
657657 }
658658
659659 dynamic "condition" {
660- for_each = statement. value . conditions != null ? statement. value . conditions : []
660+ for_each = statement. value . condition != null ? statement. value . condition : []
661661
662662 content {
663663 test = condition. value . test
@@ -740,6 +740,7 @@ module "container_definition" {
740740 systemControls = try (coalesce (each. value . systemControls , var. container_definition_defaults . systemControls ), null )
741741 ulimits = try (coalesce (each. value . ulimits , var. container_definition_defaults . ulimits ), null )
742742 user = try (coalesce (each. value . user , var. container_definition_defaults . user ), null )
743+ versionConsistency = try (coalesce (each. value . versionConsistency , var. container_definition_defaults . versionConsistency ), null )
743744 volumesFrom = try (coalesce (each. value . volumesFrom , var. container_definition_defaults . volumesFrom ), null )
744745 workingDirectory = try (coalesce (each. value . workingDirectory , var. container_definition_defaults . workingDirectory ), null )
745746
@@ -1023,7 +1024,7 @@ data "aws_iam_policy_document" "task_exec" {
10231024 }
10241025
10251026 dynamic "condition" {
1026- for_each = statement. value . conditions != null ? statement. value . conditions : []
1027+ for_each = statement. value . condition != null ? statement. value . condition : []
10271028
10281029 content {
10291030 test = condition. value . test
You can’t perform that action at this time.
0 commit comments