|
|
@ -8,10 +8,6 @@ terraform {
|
|
|
|
source = "poseidon/ct"
|
|
|
|
source = "poseidon/ct"
|
|
|
|
version = "0.13.0"
|
|
|
|
version = "0.13.0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
template = {
|
|
|
|
|
|
|
|
source = "hashicorp/template"
|
|
|
|
|
|
|
|
version = "2.2.0"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
null = {
|
|
|
|
null = {
|
|
|
|
source = "hashicorp/null"
|
|
|
|
source = "hashicorp/null"
|
|
|
|
version = "3.2.4"
|
|
|
|
version = "3.2.4"
|
|
|
@ -72,7 +68,6 @@ resource "digitalocean_custom_image" "flatcar" {
|
|
|
|
|
|
|
|
|
|
|
|
resource "digitalocean_reserved_ip" "machine" {
|
|
|
|
resource "digitalocean_reserved_ip" "machine" {
|
|
|
|
for_each = toset(var.machines)
|
|
|
|
for_each = toset(var.machines)
|
|
|
|
# droplet_id = digitalocean_droplet.machine[each.key].id
|
|
|
|
|
|
|
|
region = digitalocean_droplet.machine[each.key].region
|
|
|
|
region = digitalocean_droplet.machine[each.key].region
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|