starhawking / python-terrascript

Create Terraform files using Python scripts.
BSD 2-Clause "Simplified" License
515 stars 76 forks source link

Support community providers #86

Closed mjuenema closed 4 years ago

mjuenema commented 4 years ago

The current tools/makecode.py script is unable to generate code for community providers (https://www.terraform.io/docs/providers/type/community-index.html) as the Github URL to a provider is hard-coded. The tools/makecode.py script must be changed to read providers.yml replacing PROVIDERS. providers.yml can then contain a link to the Github repository for the provider.

- name: shell
  repository: https://github.com/scottwinkler/terraform-provider-shell