diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-07 23:38:01 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-07 23:38:01 +0100 |
commit | 3d25f7059f518dd8c857dd5e45552ba3ab733aa6 (patch) | |
tree | e7bbd7f2c6c7cfe41398335da0ab51807b54931c /j2/terraform-record-set.j2 | |
parent | 70d0ad3c9f37e44a9504a0d7f66e412a3f3bba6f (diff) | |
download | rules-sandbox-3d25f7059f518dd8c857dd5e45552ba3ab733aa6.tar.gz rules-sandbox-3d25f7059f518dd8c857dd5e45552ba3ab733aa6.tar.bz2 rules-sandbox-3d25f7059f518dd8c857dd5e45552ba3ab733aa6.tar.xz rules-sandbox-3d25f7059f518dd8c857dd5e45552ba3ab733aa6.zip |
Working terraform setup.
Diffstat (limited to 'j2/terraform-record-set.j2')
-rw-r--r-- | j2/terraform-record-set.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/j2/terraform-record-set.j2 b/j2/terraform-record-set.j2 index 31bcfab..b89ee00 100644 --- a/j2/terraform-record-set.j2 +++ b/j2/terraform-record-set.j2 @@ -1,8 +1,8 @@ resource "google_dns_record_set" "{{ tf.key }}" { name = "{{ entry.fqdn }}" - managed_zone = "{{ tf.terraformManagedZone }}" + managed_zone = var.{{ managedZone.name }} type = "{{ entry.type }}" ttl = 300 - rrdatas = [var.addresses.{{ tf.expression }}] + rrdatas = [{{ tf.expression }}] } |