Skip to content

Add YAML support for Terragrunt#2

Open
leonavevor wants to merge 2 commits into
mainfrom
add-yaml-support
Open

Add YAML support for Terragrunt#2
leonavevor wants to merge 2 commits into
mainfrom
add-yaml-support

Conversation

@leonavevor

Copy link
Copy Markdown
Owner

Generated by Github copilot workspace:
Add support for declarative YAML configuration for Terragrunt.

  • README.md

    • Add usage instructions and examples for the new YAML-based configuration.
  • src/yaml2terragrunt.py

    • Create a script to parse YAML and generate terragrunt.hcl files and directory structures.
    • Implement support for hooks, retries, outputs, variables, parameters, and exclusion of modules similar to Terragrunt.
    • Handle implicit and explicit dependencies using Terragrunt's dependency and dependencies blocks.
  • src/tests/sample_tg_declaration.yaml

    • Add a sample YAML configuration file to demonstrate the functionality.
  • src/tests/test_yaml2terragrunt.py

    • Write unittests to ensure every aspect works as expected.
    • Test parsing YAML and generating terragrunt.hcl files.
    • Test support for hooks, retries, outputs, variables, parameters, and exclusion of modules.
    • Test handling of implicit and explicit dependencies using Terragrunt's dependency and dependencies blocks.

Generated by Github copilot workspace:
Add support for declarative YAML configuration for Terragrunt.

* **README.md**
  - Add usage instructions and examples for the new YAML-based configuration.

* **src/yaml2terragrunt.py**
  - Create a script to parse YAML and generate `terragrunt.hcl` files and directory structures.
  - Implement support for hooks, retries, outputs, variables, parameters, and exclusion of modules similar to Terragrunt.
  - Handle implicit and explicit dependencies using Terragrunt's `dependency` and `dependencies` blocks.

* **src/tests/sample_tg_declaration.yaml**
  - Add a sample YAML configuration file to demonstrate the functionality.

* **src/tests/test_yaml2terragrunt.py**
  - Write unittests to ensure every aspect works as expected.
  - Test parsing YAML and generating `terragrunt.hcl` files.
  - Test support for hooks, retries, outputs, variables, parameters, and exclusion of modules.
  - Test handling of implicit and explicit dependencies using Terragrunt's `dependency` and `dependencies` blocks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant