diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-26 21:06:24 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-26 21:06:24 +0100 |
commit | 0ae7ecd47fd76921e8e1137739497578fe703354 (patch) | |
tree | e06a9b45b5e1e7a8922cdba11b1a39188ddeeee2 /j2/terraform-machine.j2 | |
parent | 71010ae3fefbe897227343e44573385df9cd60cc (diff) | |
download | rules-sandbox-0ae7ecd47fd76921e8e1137739497578fe703354.tar.gz rules-sandbox-0ae7ecd47fd76921e8e1137739497578fe703354.tar.bz2 rules-sandbox-0ae7ecd47fd76921e8e1137739497578fe703354.tar.xz rules-sandbox-0ae7ecd47fd76921e8e1137739497578fe703354.zip |
Better main().
* Moving templates into their respective modules.
* Supporting export type-based filtering. Probably not perfect.
Diffstat (limited to 'j2/terraform-machine.j2')
-rw-r--r-- | j2/terraform-machine.j2 | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/j2/terraform-machine.j2 b/j2/terraform-machine.j2 deleted file mode 100644 index 0ac8b90..0000000 --- a/j2/terraform-machine.j2 +++ /dev/null @@ -1,19 +0,0 @@ -resource "scaleway_instance_server" "{{ scw.key }}" { - name = "acme-1" - type = "DEV1-S" - image = "b3042271-d2b1-4f87-b407-aedd3bbd1663" - ip_id = scaleway_instance_ip.{{ scw.key }}.id - enable_dynamic_ip = false - enable_ipv6 = true -} - -resource "scaleway_instance_ip" "{{ scw.key }}" {} - -resource "scaleway_instance_ip_reverse_dns" "{{ scw.key }}" { - ip_id = scaleway_instance_ip.{{ scw.key }}.id - reverse = "{{ m.fqdn }}." -} - -output "{{scw.key}}_public_ip" { - value = scaleway_instance_server.{{ scw.key }}.public_ip -} |