-
Notifications
You must be signed in to change notification settings - Fork 116
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
Add support for other providers
sub-commands
#201
Comments
providers
commandproviders
sub-commands
Hi @philnielsen When it comes to adding support for new (sub)commands I'd usually ask first whether there's a real use case you have in mind (or know of) for these in the context of automation? While most commands make sense in automation, some commands are meant to be used by humans - e.g. There are some commands which are border-line at first sight but we decided to include them because real use cases came up - e.g. Do you have some ideas on how you'd use |
Thanks for taking a look @radeksimko Specifically my use case is we currently automatically bootstrap new terraform states for teams without having to know anything about our s3 backend setup. As of TF14, now teams (who are mostly using darwin systems for development) have to remember to manually run |
Thank you for describing that use case - that sounds reasonable. Feel free to send a PR for Do you have a use case in mind for the Either way I'd suggest keeping the PRs narrowly focused - 1 command per PR is ideal. |
I don't currently have a use case for |
Adds feature requested in hashicorp#201. This allows programatic generation of `.terraform.lock.hcl` files via this library
* Add `providers lock` Command Adds feature requested in #201. This allows programatic generation of `.terraform.lock.hcl` files via this library * Add Min Version Check To `providers lock` This command was added in 0.14 so it should helpfully error out if used with a version before that. Also cleaned up some godoc comments per PR feedback.
|
Right now the only
providers
command supported isproviders schema
, there are several more provider commands available now and support for them would be greatly appreciated.I would consider adding myself if you all are open to contributions for such a feature.
The text was updated successfully, but these errors were encountered: