Skip to content

Commit

Permalink
Merge pull request #31 from transcend-io/dmattia/preserve_order
Browse files Browse the repository at this point in the history
preserve container order
  • Loading branch information
dmattia authored Oct 23, 2020
2 parents b589713 + 40505c0 commit 6b1b5da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -138,14 +138,14 @@ module service {
alb_security_group_ids = module.load_balancer.security_group_ids
container_definitions = format(
"[%s]",
join(",", setunion(
join(",", distinct(concat(
[module.container_definition.json_map],
var.extra_container_definitions
))
)))
)

additional_task_policy_arns = concat([
aws_iam_policy.kms_policy.arn],
additional_task_policy_arns = concat(
[aws_iam_policy.kms_policy.arn],
module.container_definition.secrets_policy_arns,
var.extra_task_policy_arns
)
Expand Down

0 comments on commit 6b1b5da

Please sign in to comment.