ilhicas

A DevOps Padawan Journey

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.

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.