scottwinkler / terraform-provider-shell

Terraform provider for executing shell commands and saving output to state file
Mozilla Public License 2.0
279 stars 60 forks source link

Support automatic provider installations in Terraform 0.13 #70

Closed jcarlson closed 4 years ago

jcarlson commented 4 years ago

Terraform 0.13 has been released and provides a mechanism for automatically installing third-party providers.

Automatic installation would be a great addition to this provider.

https://www.hashicorp.com/blog/automatic-installation-of-third-party-providers-with-terraform-0-13/

scottwinkler commented 4 years ago

You can already do this since I published it on the provider registry. I added a snippet to the documentation to be more clear.

https://github.com/scottwinkler/terraform-provider-shell/blob/master/README.md#using-the-provider

add this to your TF config:

terraform {
  required_providers {
    shell = {
      source = "scottwinkler/shell"
      version = "1.7.3"
    }
  }
}
jcarlson commented 4 years ago

Did not know that. Thank you for clarifying, and keep up the good work!