starhawking / python-terrascript

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

Add updated Consul Provider, pick up some codegen, and update Contributors #151

Closed starhawking closed 3 years ago

starhawking commented 3 years ago

This PR updates the Consul provider to go beyond the previous legacy provider. Specifically it supports working with Consul ACLs It also picks up some changes to the google and google_beta modules that seem to have slipped in between now and the previous codegen.

Note, this used a hacked up version of makecode.py to build the consul bindings, so the normal codegen will fail. (The main change was cloning the entire repo, and then changing it to match anything that includes provider.go not just a file named provider.go the consul module's lives at resource_provider.go

Finally, it includes me in CONTRIBUTORS.md

mjuenema commented 3 years ago

Clever work. The rewrite of makecode.py (discussion #149) should resolve the issue with generating code for the Consul provider.