Github Actions: If Statement for Matrix Value

Posted by Miguel Lopez on Sat 11 February 2023 in automation

Github Actions: Use an if statement to conditionally run a block given a specific matrix value. (Matrix Strategy Jobs)


Continue reading

If Statements Inside Terraform Dynamic Blocks

Posted by Miguel Lopez on Tue 24 January 2023 in terraform

A guide to help you build if-statements inside Terraform dynamic blocks. By the end of this guide, you will understand how to create two default_action blocks for the aws_lb_listener resource (and only use one of them).


Continue reading

Terraform for_each Loops w/ If Statements

Posted by Miguel Lopez on Wed 01 December 2021 in terraform

A guide to help you build if statements inside Terraform for_each loops. This guide includes a few examples of how to use conditional logic inside Terraform for_each loops to control which resources are built.


Continue reading