File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff 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- }
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+ })
28+ }
Original file line number Diff line number Diff line change @@ -26,4 +26,13 @@ resource "plural_service_context" "mgmt" {
2626 cidr = data.google_compute_subnetwork.subnetwork.ip_cidr_range
2727 project_id = var.project
2828 })
29+ }
30+
31+ resource "plural_service_context" "plural-vpc" {
32+ name = " plrl/vpc/plural"
33+
34+ configuration = jsonencode ({
35+ network = data.google_compute_network.network.name
36+ subnetwork = data.google_container_cluster.mgmt.subnetwork
37+ })
2938}
You can’t perform that action at this time.
0 commit comments