fix: Fixed coalescelist() with subnets in fargate module (#1576)

This commit is contained in:
Anton Babenko
2021-09-08 09:30:10 +02:00
committed by GitHub
parent a9b84558b1
commit a4aef989cb

View File

@@ -8,7 +8,7 @@ module "fargate" {
permissions_boundary = var.permissions_boundary
iam_path = var.iam_path
iam_policy_arn_prefix = local.policy_arn_prefix
subnets = coalescelist(var.fargate_subnets, var.subnets)
subnets = coalescelist(var.fargate_subnets, var.subnets, [""])
tags = var.tags
# Hack to ensure ordering of resource creation.