terraform fmt
This commit is contained in:
4
main.tf
4
main.tf
@@ -167,7 +167,7 @@ resource "null_resource" "cluster_provisioning" {
|
|||||||
control_plane_ids = "${join(",", concat([module.first_control_plane.id], module.control_planes.*.id))}"
|
control_plane_ids = "${join(",", concat([module.first_control_plane.id], module.control_planes.*.id))}"
|
||||||
}
|
}
|
||||||
|
|
||||||
depends_on = [ null_resource.first_control_plane, null_resource.control_planes, null_resource.agents ]
|
depends_on = [null_resource.first_control_plane, null_resource.control_planes, null_resource.agents]
|
||||||
|
|
||||||
provisioner "remote-exec" {
|
provisioner "remote-exec" {
|
||||||
connection {
|
connection {
|
||||||
@@ -189,7 +189,7 @@ resource "null_resource" "cluster_provisioning" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
provisioner "local-exec" {
|
provisioner "local-exec" {
|
||||||
when = destroy
|
when = destroy
|
||||||
command = "hcloud load-balancer delete traefik"
|
command = "hcloud load-balancer delete traefik"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user