Skip to content

Release v0.2.2

Choose a tag to compare

@dmk dmk released this 19 Jan 12:33
· 3 commits to main since this release

New Features

  • Added support for all major Terraform block types:
    • Module - for module declarations
    • Data - for data sources
    • Locals - for local values
    • Backend - for backend configuration

Improvements

  • Enhanced HCL generation with better value formatting
  • Added support for interpolation syntax (${...})
  • Improved handling of nested blocks and arrays
  • Case-insensitive node type handling

Examples

  • Added comprehensive VPC infrastructure example showcasing:
    • Reusable components (Subnet)
    • Backend configuration
    • Provider with assumed role
    • Variables and locals
    • Data sources
    • Module usage
    • Complex resource configurations
    • Output variables

Technical Changes

  • Refactored HCL generator into a separate class
  • Added TypeScript interfaces for new block types
  • Updated JSX type declarations
  • Improved value serialization for HCL output