This finally fixes the output coming from the vpc module so that it returns a full list of subnets. Now they can be referenced just like the redis module is using in this commit.
11 lines
264 B
HCL
11 lines
264 B
HCL
module "redis" {
|
|
source = "../../modules/redis"
|
|
owner = var.owner
|
|
environment = var.environment
|
|
region = var.region
|
|
name = var.name
|
|
subnet_id = module.vpc.subnet_list["redis"].id
|
|
sku_name = "Premium"
|
|
family = "P"
|
|
}
|