Skip to content

Commit 41de09e

Browse files
committed
add aws network context
1 parent 3fcee1b commit 41de09e

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

terraform/core-infra/aws/context.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,14 @@ resource "plural_service_context" "mgmt" {
1515
subnet_ids = one(data.aws_eks_cluster.mgmt.vpc_config).subnet_ids
1616
vpc_cidr = data.aws_vpc.mgmt.cidr_block
1717
})
18+
}
19+
20+
resource "plural_service_context" "plrl-vpc" {
21+
name = "plrl/vpc/plural"
22+
23+
configuration = jsonencode({
24+
vpc_id = one(data.aws_eks_cluster.mgmt.vpc_config).vpc_id
25+
subnet_ids = one(data.aws_eks_cluster.mgmt.vpc_config).subnet_ids
26+
vpc_cidr = data.aws_vpc.mgmt.cidr_block
27+
})
1828
}

0 commit comments

Comments
 (0)