Open rata opened 4 years ago
What was mentioned some time ago was a render
operation, which would create all the assets, which then can be picked up by the apply
command. This way, user should be able to change all needed assets without recompiling lokoctl etc. As this issue seems similar to this idea, perhaps we should align both.
There is an issue for it actually: #189.
I'm not sure that will cover this, though. For things like manual provider in packet you run terraform several times, and you may want to see what is run or done at different stages.
I agree that is useful too, but is not really the same, IIUC.
What would cluster apply
with --dry-run
do then? Could you please clarify?
Yes :)
When hacking lokomotive, it is really useful to have a "dry-run" option. Several times you just want to test something, without actually creating the infrastructure.
I end up adding a
return nil
here or there, to make it not create the infra when hacking locally. IMHO, it makes sense to have a--dry-run
option tocluster apply
.