Compare commits
No commits in common. "v1.1.0" and "v1.0.2" have entirely different histories.
9
main.tf
9
main.tf
@ -5,7 +5,6 @@ locals {
|
|||||||
volume_name = volume.name
|
volume_name = volume.name
|
||||||
volume_size = volume.size
|
volume_size = volume.size
|
||||||
server_id = hcloud_server.server[server.name].id
|
server_id = hcloud_server.server[server.name].id
|
||||||
server_name = server.name
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
])
|
])
|
||||||
@ -70,14 +69,6 @@ resource "hcloud_volume" "volume" {
|
|||||||
name = each.value.volume_name
|
name = each.value.volume_name
|
||||||
size = each.value.volume_size
|
size = each.value.volume_size
|
||||||
server_id = each.value.server_id
|
server_id = each.value.server_id
|
||||||
labels = merge(
|
|
||||||
{
|
|
||||||
provisioner = "terraform"
|
|
||||||
project = var.hcloud_project
|
|
||||||
server = each.value.server_name
|
|
||||||
},
|
|
||||||
try(each.value.labels, {})
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "hcloud_ssh_key" "key" {
|
resource "hcloud_ssh_key" "key" {
|
||||||
|
Loading…
Reference in New Issue
Block a user