Skip to content

Commit

Permalink
Merge pull request #89 from joaofeteira/fix-infra-numvms-post-change
Browse files Browse the repository at this point in the history
fix to number of vms change after deployment
  • Loading branch information
johnbelamaric authored Nov 14, 2022
2 parents 821cce8 + 6adbf2e commit 77ae170
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions infra/compute_instances.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,8 @@ resource "null_resource" "config_vm" {
provisioner "local-exec" {
command = "ansible-playbook -i '../ansible_kind/hosts' --private-key ${local.ssh_private_key_path} ../ansible_kind/kind_setup.yaml"
}
lifecycle {
replace_triggered_by = [local_file.ansible_inventory]
}
depends_on = [local_file.ansible_inventory]
}

0 comments on commit 77ae170

Please sign in to comment.