yor icon indicating copy to clipboard operation
yor copied to clipboard

add for loop option in tags block

Open EstyFridman1 opened this issue 1 year ago • 3 comments

User description

This feature introduces support for loops within Terraform configurations fixes:#496


Generated description

Dear maintainer, below is a concise technical summary of the changes proposed in this PR:

Introduce a new feature in the TerraformParser class to support for loops within the tags block of Terraform configurations. This enhancement allows users to dynamically generate tags using a for loop, improving flexibility in tag management. The modifyBlockTags and parseTagAttribute functions have been updated to handle the new for loop syntax. Additionally, test cases have been added to ensure the correct parsing and handling of tags with for loops.

TopicDetails
For Loop Support Introduce support for for loops in the TerraformParser class to enhance tag management flexibility.
Modified files (3)
  • src/terraform/structure/terraform_parser.go
  • tests/terraform/forLoop/main.tf
  • src/terraform/structure/terraform_parser_test.go
Latest Contributors(2)
EmailCommitDate
57212002+ChanochShayne...lint-fixes-542July 25, 2024
150965779+chanaMovshow...Skip-Comment-Feature-530June 30, 2024
Dependency Updates Update dependencies in go.mod to ensure compatibility and leverage new features.
Modified files (1)
  • go.mod
Latest Contributors(2)
EmailCommitDate
47931006+RabeaZr@users...go-git-vulnerability-483March 07, 2024
[email protected]Extend-to-support-conf...April 30, 2023
This pull request is reviewed by Baz. Join @EstyFridman1 and the rest of your team on (Baz).

EstyFridman1 avatar Aug 04 '24 21:08 EstyFridman1

@ChanochShayner can you review it please? thanks

EstyFridman1 avatar Aug 05 '24 07:08 EstyFridman1

@EstyFridman1 you still have some lint issues.

ChanochShayner avatar Aug 07 '24 15:08 ChanochShayner

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 22 '24 18:09 stale[bot]