Skip to content

Commit 8547e32

Browse files
fix tf wiring bug in service context
1 parent 5ef6461 commit 8547e32

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
resource "plural_service_context" "mgmt" {
1+
resource "plural_service_context" "cluster" {
22
name = "plrl/clusters/${var.cluster}"
33

44
configuration = jsonencode({
55
region = var.region
66
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
7+
vpc_id = local.vpc.vpc_id
8+
subnet_ids = concat(local.vpc.private_subnets, local.vpc.public_subnets)
9+
private_subnets = local.vpc.private_subnets
10+
public_subnets = local.vpc.public_subnets
1111
vpc_cidr = var.vpc_cidr
1212
})
1313
}

0 commit comments

Comments
 (0)