3 ms·
Oh interesting. Note to self: see if there's an option to disable `terraform apply` without a plan. I always refresh when running the pre-apply plan, but while
by kalmar 9y ago
Oh interesting. Note to self: see if there's an option to disable `terraform apply` without a plan.
I always refresh when running the pre-apply plan, but while iterating I use that. Do you always run your `tffreshplan` command before applying?
- nodesocket 9y agoAgree would be nice to add a new option which prevents invoking `apply` without a supplied plan argument. Create an issue in the GitHub, I'll upvote.
- kalmar 9y agoHere's an issue: https://github.com/hashicorp/terraform/issues/15263 https://github.com/hashicorp/terraform/issues/15263
- RyanGWU82 9y agoMy muscle memory for "terraform apply" was too strong, so I just moved "terraform" out of my path altogether. Now I have a wrapper that invokes it safely (or a Makefile, depending on which project I'm working on).