Skip to content

Commit

Permalink
fix: Set the default value or it causes a diff and recreate in TF (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpanzella authored Jan 21, 2025
1 parent 2dfb7a3 commit c7dc4dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/private_link/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ resource "google_compute_region_backend_service" "internal_nlb" {
load_balancing_scheme = "INTERNAL_MANAGED"
backend {
group = google_compute_region_network_endpoint_group.external_lb.id
balancing_mode = ""
balancing_mode = "UTILIZATION"
}
}

Expand All @@ -54,6 +54,8 @@ resource "google_compute_forwarding_rule" "internal_nlb" {

network = var.network.id
subnetwork = var.subnetwork.self_link

depends_on = [google_compute_subnetwork.proxy]
}

resource "google_compute_service_attachment" "default" {
Expand Down

0 comments on commit c7dc4dd

Please sign in to comment.