Home
ilhicas
Cancel

How to use for each with resources in Terraform

Since terraform version 0.12 you are able to use terraform for_each under dynamic blocks, but with the latest version, you are now also able to reference for_each under resource as well. Given las...

How to generate all permutations of a list in Python

This post is intended to be different than my usual posts, and it’s meant to show that a person should also have fun with programming. So recently while my girlfriend was reading the newspaper, sh...

How to always run local-exec with Terraform

Sometimes there is a need to always run some terraform local-exec, so we can always execute a null_resource when doing an apply or applying it as a target. So, how can you make sure to invalidate ...

Creating a folder in S3 with Terraform

How to create an S3 folder with Terraform that is OS independent, and can be ran across Windows, or Unix based systems. Recently I had the need to create an S3 folder using terraform and all I cou...

What do you do as a DevOps?

Introduction In this post I'll just explain what I actually do, and have done over the last, almost 3 years as a consultant in this field, without trying to define a job role. DevOps is a term th...