Skip to content

Commit

Permalink
fix for gcloud cli
Browse files Browse the repository at this point in the history
  • Loading branch information
amanpruthi committed Jun 18, 2024
1 parent 3ad604f commit ccb6136
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ resource "time_sleep" "wait_seconds" {
## In order to support private link required min version 0.13.0 of operator-wandb chart

module "private_link" {
count = var.create_private_link ? 0 : 1
count = var.create_private_link ? 1 : 0
source = "./modules/private_link"
namespace = var.namespace
network = local.network
Expand Down
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,5 @@ output "database_instance_type" {
}

output "private_attachement_id" {
value = var.create_private_link ? null : module.private_link[0].private_attachement_id
value = var.create_private_link ? module.private_link[0].private_attachement_id : null
}

0 comments on commit ccb6136

Please sign in to comment.