mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-24 18:19:33 +01:00
Use Terraform v0.12 syntax in ingress docs
* Drop string interpolation in Google Cloud A records shown in Nginx ingress addon docs * Retain string interpolation syntax for CNAME records since Google Cloud DNS expects records to end in "." (some clouds add it automatically)
This commit is contained in:
parent
9a395dbf88
commit
307aaf5e30
@ -64,7 +64,7 @@ resource "google_dns_record_set" "some-application" {
|
||||
name = "app.example.com."
|
||||
type = "A"
|
||||
ttl = 300
|
||||
rrdatas = ["${module.azure-ramius.ingress_static_ipv4}"]
|
||||
rrdatas = [module.azure-ramius.ingress_static_ipv4]
|
||||
}
|
||||
```
|
||||
|
||||
@ -158,7 +158,7 @@ resource "google_dns_record_set" "app-record-a" {
|
||||
name = "app.example.com."
|
||||
type = "A"
|
||||
ttl = 300
|
||||
rrdatas = ["${module.google-cloud-yavin.ingress_static_ipv4}"]
|
||||
rrdatas = [module.google-cloud-yavin.ingress_static_ipv4]
|
||||
}
|
||||
|
||||
resource "google_dns_record_set" "app-record-aaaa" {
|
||||
@ -169,6 +169,6 @@ resource "google_dns_record_set" "app-record-aaaa" {
|
||||
name = "app.example.com."
|
||||
type = "AAAA"
|
||||
ttl = 300
|
||||
rrdatas = ["${module.google-cloud-yavin.ingress_static_ipv6}"]
|
||||
rrdatas = [module.google-cloud-yavin.ingress_static_ipv6]
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user