We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ef6461 commit 8547e32Copy full SHA for 8547e32
terraform/modules/clusters/aws/context.tf
@@ -1,13 +1,13 @@
1
-resource "plural_service_context" "mgmt" {
+resource "plural_service_context" "cluster" {
2
name = "plrl/clusters/${var.cluster}"
3
4
configuration = jsonencode({
5
region = var.region
6
cluster_name = var.cluster
7
- vpc_id = module.vpc.vpc_id
8
- subnet_ids = concat(module.vpc.public_subnets, module.vpc.private_subnets)
9
- private_subnets = module.vpc.private_subnets
10
- public_subnets = module.vpc.public_subnets
+ vpc_id = local.vpc.vpc_id
+ subnet_ids = concat(local.vpc.private_subnets, local.vpc.public_subnets)
+ private_subnets = local.vpc.private_subnets
+ public_subnets = local.vpc.public_subnets
11
vpc_cidr = var.vpc_cidr
12
})
13
}
0 commit comments