Created
September 24, 2022 09:54
-
-
Save viggin543/7d6eddd1dab86df28c6880253464444a to your computer and use it in GitHub Desktop.
This file contains hidden or 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_global_address" "foo_ip_address" { | |
| name = "foo-static-ip" | |
| address_type = "EXTERNAL" | |
| description = "editor ip" | |
| } | |
| resource "google_dns_record_set" "loomi-editor" { | |
| managed_zone = google_dns_managed_zone.hosted-zone.name | |
| name = "f.${google_dns_managed_zone.hosted-zone.dns_name}" | |
| type = "A" | |
| rrdatas = [google_compute_global_address.editor_ip_address.address] | |
| ttl = 300 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment