Skip to content

Commit

Permalink
Add conditional count for cluster credentials module based on connect…
Browse files Browse the repository at this point in the history
… gateway users
  • Loading branch information
SadriG91 committed Dec 10, 2024
1 parent 7194fd1 commit 76ff086
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions credentials.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module "cluster_credentials" {
count = length(var.connect_gateway_users) > 0 ? 1 : 0
source = "terraform-google-modules/gcloud/google"
version = "~> 3.0"
platform = var.platform
Expand Down

0 comments on commit 76ff086

Please sign in to comment.