diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2020-12-28 21:56:05 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2020-12-28 21:56:05 +0100 |
commit | 9851dffc8d915ff01117a5ed8070e5b2a1ef2bb5 (patch) | |
tree | 6fe7914b793a782079738a936bac595a08902b44 /gen/platform/terraform | |
parent | b8af5cdf274a60f364d34192d4f483f4f4800282 (diff) | |
download | rules-sandbox-9851dffc8d915ff01117a5ed8070e5b2a1ef2bb5.tar.gz rules-sandbox-9851dffc8d915ff01117a5ed8070e5b2a1ef2bb5.tar.bz2 rules-sandbox-9851dffc8d915ff01117a5ed8070e5b2a1ef2bb5.tar.xz rules-sandbox-9851dffc8d915ff01117a5ed8070e5b2a1ef2bb5.zip |
Better structure.
Splitting machines and terraform machines, ditto with dns.
Diffstat (limited to 'gen/platform/terraform')
-rw-r--r-- | gen/platform/terraform/acme-1.tf | 11 | ||||
-rw-r--r-- | gen/platform/terraform/acme-2.tf | 11 | ||||
-rw-r--r-- | gen/platform/terraform/acme-3.tf | 11 | ||||
-rw-r--r-- | gen/platform/terraform/main.tf | 7 |
4 files changed, 7 insertions, 33 deletions
diff --git a/gen/platform/terraform/acme-1.tf b/gen/platform/terraform/acme-1.tf index d488fbc..06b681f 100644 --- a/gen/platform/terraform/acme-1.tf +++ b/gen/platform/terraform/acme-1.tf @@ -13,14 +13,3 @@ 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}" } - -resource "google_dns_record_set" "acme-1" { - name = "acme-1.${google_dns_managed_zone.machine.dns_name}" - managed_zone = google_dns_managed_zone.machine.name - type = "A" - ttl = 300 - - rrdatas = [scaleway_instance_ip.acme-1.public_ip] - - depends_on = [google_dns_managed_zone.ci] -} diff --git a/gen/platform/terraform/acme-2.tf b/gen/platform/terraform/acme-2.tf index e791c61..d2e41b0 100644 --- a/gen/platform/terraform/acme-2.tf +++ b/gen/platform/terraform/acme-2.tf @@ -13,14 +13,3 @@ 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}" } - -resource "google_dns_record_set" "acme-2" { - name = "acme-2.${google_dns_managed_zone.machine.dns_name}" - managed_zone = google_dns_managed_zone.machine.name - type = "A" - ttl = 300 - - rrdatas = [scaleway_instance_ip.acme-2.public_ip] - - depends_on = [google_dns_managed_zone.ci] -} diff --git a/gen/platform/terraform/acme-3.tf b/gen/platform/terraform/acme-3.tf index 13977bd..4a84d3f 100644 --- a/gen/platform/terraform/acme-3.tf +++ b/gen/platform/terraform/acme-3.tf @@ -13,14 +13,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}" } - -resource "google_dns_record_set" "acme-3" { - name = "acme-3.${google_dns_managed_zone.machine.dns_name}" - managed_zone = google_dns_managed_zone.machine.name - type = "A" - ttl = 300 - - rrdatas = [scaleway_instance_ip.acme-3.public_ip] - - depends_on = [google_dns_managed_zone.ci] -} diff --git a/gen/platform/terraform/main.tf b/gen/platform/terraform/main.tf new file mode 100644 index 0000000..3f217ed --- /dev/null +++ b/gen/platform/terraform/main.tf @@ -0,0 +1,7 @@ +terraform { + required_providers { + scaleway = { + source = "scaleway/scaleway" + } + } +} |