Created
September 24, 2022 13:08
-
-
Save viggin543/53534f3035e035fc0dcf22be9b1466cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "google_compute_target_https_proxy" "foo-proxy" { | |
name = "foo-https-proxy" | |
url_map = google_compute_url_map.foo.self_link | |
ssl_certificates = [google_compute_managed_ssl_certificate.foo-certificate.id] | |
} | |
resource "google_compute_global_forwarding_rule" "foo-https" { | |
provider = google-beta | |
name = "foo-https-rule" | |
load_balancing_scheme = "EXTERNAL" | |
target = google_compute_target_https_proxy.foo-proxy.self_link | |
ip_address = google_compute_global_address.foo_ip_address.address | |
port_range = "443" | |
depends_on = [google_compute_global_address.foo_ip_address] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment