Skip to content

Commit

Permalink
Fix default case
Browse files Browse the repository at this point in the history
  • Loading branch information
ciiiii committed Jan 16, 2025
1 parent 510f607 commit ccd4ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ module "gke" {
maintenance_exclusions = var.maintenance_exclusions
maintenance_start_time = var.maintenance_window
master_authorized_networks = var.master_authorized_networks
gcp_public_cidrs_access_enabled = var.gcp_public_cidrs_access_enabled
gcp_public_cidrs_access_enabled = length(var.master_authorized_networks) > 0 ? var.gcp_public_cidrs_access_enabled : null
network = var.vpc_network
network_project_id = var.network_project_id
network_policy = var.cluster_network_policy
Expand Down

0 comments on commit ccd4ade

Please sign in to comment.