starhawking / python-terrascript

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

Implement locals block #84

Closed MaT1g3R closed 4 years ago

MaT1g3R commented 4 years ago

Locals is implemented as a block, but since it's really a global variable for the entire terraform module, maybe it makes more sense to have a method on the main Terrascript class to add locals directly.

mjuenema commented 4 years ago

I am merging this but the 0.7 branch has no future.