antonbabenko / modules.tf-lambda

Infrastructure as code generator - from visual diagrams created with Cloudcraft.co to Terraform
https://www.cloudcraft.co/
MIT License
351 stars 56 forks source link

Render real HCL2 code to support types like `list(map(any))` #26

Open antonbabenko opened 4 years ago

antonbabenko commented 4 years ago

Python data structures converted into JSON works fine for simple types like string, bool, but does not work for types that can't be easily converted from JSON into HCL2 (eg, list(map(any)) in security group rules.

Ref: #17 #27 - security group rules