Skip to content

Add Terraform map filtering using for-expression example#10645

Open
puspender01 wants to merge 1 commit intobregman-arie:masterfrom
puspender01:terraform-map-filter-doc
Open

Add Terraform map filtering using for-expression example#10645
puspender01 wants to merge 1 commit intobregman-arie:masterfrom
puspender01:terraform-map-filter-doc

Conversation

@puspender01
Copy link
Copy Markdown

Description

Added an example to show how to filter a map in Terraform using a for expression with a condition.

Included a simple use case where only resources with deploy = true are selected. Also added input and output examples to make it easier to understand.

Changes

  • Added a new Q&A under Terraform Maps section
  • Explained for expression with if condition
  • Included a practical example

This will help in understanding how to filter configurations in real-world scenarios.

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