Skip to content

Instantly share code, notes, and snippets.

@joakimhew
Created October 15, 2021 14:46
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/1c87c65664a4eff4c913fa8a6f9d2a92 to your computer and use it in GitHub Desktop.
Save joakimhew/1c87c65664a4eff4c913fa8a6f9d2a92 to your computer and use it in GitHub Desktop.
resource "null_resource" "annotate_nodes" {
triggers = {
"sha256" = filesha256("./annotate-nodes.sh")
}
provisioner "local-exec" {
command = <<EOH
chmod 0755 annotate-nodes.sh
./annotate-nodes.sh
EOH
}
depends_on = [
module.eks
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment