-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: add an option to skip terraform plan
-ing
#142
Comments
Hi @mdb, Thank you for your proposal! There was a similar proposal to skip planning in #53 previously, but the use case seems slightly different. Of course, we prefer not to skip planning as much as possible, but I understand that it is sometimes inevitable to solve practical problems. I do not intend to implement this feature myself, but I am open to accepting it if someone does. About the name of the attribute, I prefer the attribute name |
Hi @minamijoyo ! Thanks for the response! (And, philosophically, I'm also wary of the I took at stab at implementing the feature in PR #143 . Regarding the attribute name, I went with your |
Thank you for working on this and your suggestion. Naming is the most difficult part of design and is always debatable due to personal preferences. In my opinion,
You seem to have already fixed the code with |
We shipped #143 in v0.3.14. |
👋 Thanks for your work on
tfmigrate
-- the tool is really useful. I'd love the ability to configure whethertfmigrate
performsterraform plan
s under the hood, especially duringmulti_state
operations. I'm imagining something like:More context
As for my use case, imagine the following scenario...
My team's
project-one
Terraform project is excessively monolithic and manages thousands of resources. As such, itsterraform plan
andterraform apply
each take hours to complete. To fix this, I want to usetfmigrate
to piecemeal and incrementally migrateproject-one
resources into more appropriately granular projects, likeproject-two
. However, becausetfmigrate
performs aterraform plan
againstproject-one
with eachtfmigrate plan
and eachtfmigrate apply
-- and becauseterraform plan
-ingproject-one
takes hours -- eachtfmigrate
action takes a prohibitively long time.In this case, I'd like to disable
tfmigrate
fromplan
-ingproject-one
. As such, I'm willing to accept the risks of bypassing theterraform plan
diff analysis in favor of faster feedback andtfmigrate
actions that don't take a prohibitively long time to complete.The text was updated successfully, but these errors were encountered: