starhawking / python-terrascript

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

Request to create a new release #160

Open maorfr opened 3 years ago

maorfr commented 3 years ago

Hello!

We are long time customers and looking forward to see a new release! We have recently upgraded from 0.7.0 to 0.9.0 along with a terraform 0.11 -> 0.13 migration. It went super well thanks to the usage of terrascript! Kudos for all the hard work!

We are especially interested in this commit: https://github.com/mjuenema/python-terrascript/commit/11685492baf21a0fb6719ff0c75988c1b24af6bf It adds support for public ECR repositories, which we are looking to use as well.

Thanks for all the hard work and thank you in advance for another great release!

mjuenema commented 3 years ago

Thanks for the kind words.

There is some work in progress (whenever I kind find spare time, which is very difficult) on automatically supporting (almost) all providers that are available from the Terraform Provider Registry.

There is an on-going discussion (#149) about this. Also check the feature/makecode-and-terraform-registry branch for current progress.

maorfr commented 3 years ago

fwiw, this is how we are currently working around the missing resource: https://github.com/app-sre/qontract-reconcile/pull/1466/commits/0aadd9c9e32e30b8719ffc47816771a48066c5ed

mjuenema commented 3 years ago

Thanks. As you figured out, adding a provider/resource/datasource is as simple as subclassing the equivalent Terrascript class.

I am progressing nicely on rewriting tools/makecode.py which is responsible for creating the Python code for the various Terraform providers. Once finished, aws_ecrpublic_repository will be available through Terrascript.