From e27264ff17bc102143a631495be86798a53cf6ca Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 29 Dec 2020 20:52:52 +0100 Subject: Working TF code. --- j2/terraform-machine-outputs.j2 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 j2/terraform-machine-outputs.j2 (limited to 'j2/terraform-machine-outputs.j2') diff --git a/j2/terraform-machine-outputs.j2 b/j2/terraform-machine-outputs.j2 new file mode 100644 index 0000000..438fac6 --- /dev/null +++ b/j2/terraform-machine-outputs.j2 @@ -0,0 +1,7 @@ +output "addresses" { + value = { +{%- for m in machines %} + {{ m.key }}: scaleway_instance_ip.{{ m.key }}.address, +{%- endfor %} + } +} -- cgit v1.2.3