diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2020-12-30 20:48:51 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2020-12-30 20:48:51 +0100 |
commit | 866eafabd7398fd1485e7aa285345a7dcea480d0 (patch) | |
tree | d0caab0874640678af7fd1e55685da59eb99de0e /durable_rules-test/gen/platform/terraform | |
parent | ea985dfdb3974f3f22381be01c41dcb06a817831 (diff) | |
download | rules-sandbox-866eafabd7398fd1485e7aa285345a7dcea480d0.tar.gz rules-sandbox-866eafabd7398fd1485e7aa285345a7dcea480d0.tar.bz2 rules-sandbox-866eafabd7398fd1485e7aa285345a7dcea480d0.tar.xz rules-sandbox-866eafabd7398fd1485e7aa285345a7dcea480d0.zip |
Moving everything under durable_rules-test.
Diffstat (limited to 'durable_rules-test/gen/platform/terraform')
5 files changed, 59 insertions, 0 deletions
diff --git a/durable_rules-test/gen/platform/terraform/acme-1.tf b/durable_rules-test/gen/platform/terraform/acme-1.tf new file mode 100644 index 0000000..8100533 --- /dev/null +++ b/durable_rules-test/gen/platform/terraform/acme-1.tf @@ -0,0 +1,15 @@ +resource "scaleway_instance_server" "acme-1" { + name = "acme-1" + type = "DEV1-S" + image = "b3042271-d2b1-4f87-b407-aedd3bbd1663" + ip_id = scaleway_instance_ip.acme-1.id + enable_dynamic_ip = false + enable_ipv6 = true +} + +resource "scaleway_instance_ip" "acme-1" {} + +#resource "scaleway_instance_ip_reverse_dns" "acme-1" { +# ip_id = scaleway_instance_ip.acme-1.id +# reverse = "acme-1.${google_dns_managed_zone.machine.dns_name}" +#} diff --git a/durable_rules-test/gen/platform/terraform/acme-2.tf b/durable_rules-test/gen/platform/terraform/acme-2.tf new file mode 100644 index 0000000..07d5e8b --- /dev/null +++ b/durable_rules-test/gen/platform/terraform/acme-2.tf @@ -0,0 +1,15 @@ +resource "scaleway_instance_server" "acme-2" { + name = "acme-1" + type = "DEV1-S" + image = "b3042271-d2b1-4f87-b407-aedd3bbd1663" + ip_id = scaleway_instance_ip.acme-2.id + enable_dynamic_ip = false + enable_ipv6 = true +} + +resource "scaleway_instance_ip" "acme-2" {} + +#resource "scaleway_instance_ip_reverse_dns" "acme-2" { +# ip_id = scaleway_instance_ip.acme-2.id +# reverse = "acme-2.${google_dns_managed_zone.machine.dns_name}" +#} diff --git a/durable_rules-test/gen/platform/terraform/acme-3.tf b/durable_rules-test/gen/platform/terraform/acme-3.tf new file mode 100644 index 0000000..a2246bc --- /dev/null +++ b/durable_rules-test/gen/platform/terraform/acme-3.tf @@ -0,0 +1,15 @@ +resource "scaleway_instance_server" "acme-3" { + name = "acme-1" + type = "DEV1-S" + image = "b3042271-d2b1-4f87-b407-aedd3bbd1663" + ip_id = scaleway_instance_ip.acme-3.id + enable_dynamic_ip = false + enable_ipv6 = true +} + +resource "scaleway_instance_ip" "acme-3" {} + +#resource "scaleway_instance_ip_reverse_dns" "acme-3" { +# ip_id = scaleway_instance_ip.acme-3.id +# reverse = "acme-3.${google_dns_managed_zone.machine.dns_name}" +#} diff --git a/durable_rules-test/gen/platform/terraform/main.tf b/durable_rules-test/gen/platform/terraform/main.tf new file mode 100644 index 0000000..3f217ed --- /dev/null +++ b/durable_rules-test/gen/platform/terraform/main.tf @@ -0,0 +1,7 @@ +terraform { + required_providers { + scaleway = { + source = "scaleway/scaleway" + } + } +} diff --git a/durable_rules-test/gen/platform/terraform/outputs.tf b/durable_rules-test/gen/platform/terraform/outputs.tf new file mode 100644 index 0000000..87ccb0b --- /dev/null +++ b/durable_rules-test/gen/platform/terraform/outputs.tf @@ -0,0 +1,7 @@ +output "addresses" { + value = { + acme-2: scaleway_instance_ip.acme-2.address, + acme-3: scaleway_instance_ip.acme-3.address, + acme-1: scaleway_instance_ip.acme-1.address, + } +} |