Skip to content

Instantly share code, notes, and snippets.

@carlosonunez
Last active January 3, 2017 03:06
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 carlosonunez/f98358f8fb87a5db865b3d98a830d091 to your computer and use it in GitHub Desktop.
Save carlosonunez/f98358f8fb87a5db865b3d98a830d091 to your computer and use it in GitHub Desktop.
1. Adding a `file` provisioner to a resource doesn't trigger a rebuild. The only issue I found related to this is here: https://github.com/hashicorp/terraform/issues/6065
2. For the `connection` block, it's `private_key`, not `key_name`. Terraform didn't fight me on this...
3. `private_key` only takes the `file()` method and the path has to be absolute. Nothing else works...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment