remove triggers on cluster_provisioning

This commit is contained in:
phaer 2022-02-22 00:32:30 +01:00
parent 133ca38d22
commit 96539720fd

12
main.tf
View File

@ -161,13 +161,11 @@ data "hcloud_load_balancer" "traefik" {
resource "null_resource" "cluster_provisioning" { resource "null_resource" "cluster_provisioning" {
depends_on = [
triggers = { null_resource.first_control_plane,
agent_ids = "${join(",", module.agents.*.id)}" null_resource.control_planes,
control_plane_ids = "${join(",", concat([module.first_control_plane.id], module.control_planes.*.id))}" 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 {