Provision similar infrastructure components by iterating over a data structure with the for_each argument. Duplicate an entire VPC including a load balancer and multiple EC2 instances for each project defined in a map.| Manage similar resources with for each | Terraform | HashiCorp Developer
Resources correspond to infrastructure objects like virtual networks or compute instances. Learn about resource types, syntax, behavior, and arguments.| Resources - Configuration Language | Terraform | HashiCorp Developer
Learn how to use type constraints to validate user inputs to modules and resources.| Type Constraints - Configuration Language | Terraform | HashiCorp Developer
Functions transform and combine values. Learn about Terraform's built-in functions.| Function Calls - Configuration Language | Terraform | HashiCorp Developer
The setproduct function finds all of the possible combinations of elements from all of the given sets by computing the cartesian product.| setproduct - Functions - Configuration Language | Terraform | HashiCorp Devel...
The toset function converts a value to a set.| toset - Functions - Configuration Language | Terraform | HashiCorp Developer
Modules are containers for multiple resources that are used together in configurations. Learn how to call one module from another and access module output.| Modules - Configuration Language | Terraform | HashiCorp Developer
The flatten function eliminates nested lists from a list.| flatten - Functions - Configuration Language | Terraform | HashiCorp Developer
Reference values in configurations, including resources, input variables, local and block-local values, module outputs, data sources, and workspace data.| References to Values - Configuration Language | Terraform | HashiCorp Developer
An overview of expressions to reference or compute values in Terraform configurations, including types, operators, and functions.| Expressions - Configuration Language | Terraform | HashiCorp Developer
Count helps you efficiently manage nearly identical infrastructure resources without writing a separate block for each one.| The count Meta-Argument - Configuration Language | Terraform | HashiCorp Deve...
The for_each meta-argument allows you to manage similar infrastructure resources without writing a separate block for each one.| The for_each Meta-Argument - Configuration Language | Terraform | HashiCorp D...
Output values are the return values of a Terraform module.| Output Values - Configuration Language | Terraform | HashiCorp Developer
Input variables allow you to customize modules without altering their source code. Learn how to declare, define, and reference variables in configurations.| Input Variables - Configuration Language | Terraform | HashiCorp Developer