Skip to content

Commit

Permalink
Fix cluster name variable
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Jan 8, 2025
1 parent 474a920 commit 473916b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions terraform/modules/clusters/aws/context.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
resource "plural_service_context" "mgmt" {
name = "plrl/clusters/${var.cluster_name}"
name = "plrl/clusters/${var.cluster}"

configuration = jsonencode({
region = var.region
cluster_name = var.cluster_name
cluster_name = var.cluster
vpc_id = module.vpc.vpc_id
subnet_ids = concat(module.vpc.public_subnets, module.vpc.private_subnets)
private_subnets = module.vpc.private_subnets
Expand Down
4 changes: 2 additions & 2 deletions terraform/modules/clusters/gcp/context.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
resource "plural_service_context" "mgmt" {
name = "plrl/clusters/${var.cluster_name}"
name = "plrl/clusters/${var.cluster}"

configuration = jsonencode({
region = var.region
cluster_name = var.cluster_name
cluster_name = var.cluster
network = module.gcp-network.network_name
subnetwork = module.gcp-network.subnets_names[0]
cidr = var.subnet_cidr
Expand Down

0 comments on commit 473916b

Please sign in to comment.