Optum / dce-cli

Disposable Cloud Environment CLI
Apache License 2.0
37 stars 19 forks source link

Prompt for backend creation #18

Closed eschwartz closed 4 years ago

eschwartz commented 4 years ago

Currently, DCE CLI creates an S3 backend with every call to dce deploy by default.

I may not want to create a backend on S\3 -- ie, I may just want to use a local backend for simplicity, for local development.

Would like if the CLI would prompt me, eg:

There is no terraform backend configured in your dce.yml file. Would you like to create a terraform state backend on S3? 
If not, a local backend will be used to store terraform state.
> 
nathanagood commented 4 years ago

Closing this issue as it will be resolved by #52. By default, the CLI will use the local TF state. See #15 which speaks a little about how that might be done.