Created
September 24, 2022 13:08
-
-
Save viggin543/ff117a7af46e76bb4ca88a49fbf32aca 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