If Statements Inside Terraform Dynamic Blocks

Posted by Miguel Lopez on Tue 24 January 2023 in terraform

Learn how to use if-statements inside Terraform Dynamic blocks.


Continue reading

Terraform for_each loops w/ if statements in Terraform 0.12.6+

Posted by Miguel Lopez on Wed 01 December 2021 in terraform

Real life example that demonstrates how to use for_each loops with an if conditional that determines if the resource is built or not.


Continue reading