feat: Added ability to pass different subnets for fargate and the cluster (#1527)

This commit is contained in:
DayneD89
2021-09-06 14:15:38 +01:00
committed by GitHub
parent 7f8232c570
commit 4a7678d372
4 changed files with 10 additions and 2 deletions

View File

@@ -61,7 +61,8 @@ module "eks" {
source = "../.."
cluster_name = local.cluster_name
cluster_version = "1.20"
subnets = module.vpc.private_subnets
subnets = [module.vpc.private_subnets[0], module.vpc.public_subnets[1]]
fargate_subnets = [module.vpc.private_subnets[2]]
tags = {
Environment = "test"