Skip to content

Commit

Permalink
remove unnecessary local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
rodriguezsergio committed Dec 19, 2024
1 parent 5333cf5 commit d37f73c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/net-lb-app-int-cross-region/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ locals {
coalesce(var.ssl_certificates.certificate_ids, []),
[for k, v in google_compute_ssl_certificate.default : v.id]
)
certificate_manager_certs = try(var.https_proxy_config.certificate_manager_certificates, null)
}

resource "google_compute_global_forwarding_rule" "forwarding_rules" {
Expand Down Expand Up @@ -109,11 +108,11 @@ resource "google_compute_target_https_proxy" "default" {
project = var.project_id
name = var.name
description = var.description
ssl_certificates = length(local.proxy_ssl_certificates) > 0 ? local.proxy_ssl_certificates : null
certificate_manager_certificates = local.certificate_manager_certs
quic_override = var.https_proxy_config.quic_override
ssl_policy = var.https_proxy_config.ssl_policy
url_map = google_compute_url_map.default.id
ssl_certificates = length(local.proxy_ssl_certificates) > 0 ? local.proxy_ssl_certificates : null
certificate_manager_certificates = try(var.https_proxy_config.certificate_manager_certificates, null)
}

resource "google_compute_network_endpoint_group" "default" {
Expand Down

0 comments on commit d37f73c

Please sign in to comment.