Skip to content

Instantly share code, notes, and snippets.

@joakimhew
Last active October 15, 2021 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joakimhew/343f60d4eca59538fe576601a3201036 to your computer and use it in GitHub Desktop.
Save joakimhew/343f60d4eca59538fe576601a3201036 to your computer and use it in GitHub Desktop.
resource "null_resource" "cycle_nodes" {
triggers = {
"sha256" = filesha256("./cycle-nodes.sh")
}
provisioner "local-exec" {
command = <<EOH
chmod 0755 cycle-nodes.sh
./cycle-nodes.sh -c dev-cluster
EOH
}
depends_on = [
module.eni_config
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment