Custom script from within a terraform module
What if you wanted to execute a python script or a bash / powershell script from within your terraform module? Note that this is a different use case from that…
Reusable Terraform Modules from the public registry
There's a wealth of existing modules for AWS, GCP and Azure on (Also read, reusable modules in Terraform, getting started ) Look for something of interest to you here :…
REusable Modules
Let us say you need to repeat a resource creation task (a set of resources) more than once. You may need to create those resources in two separate environments -…
Multiple Identical Resources via Terraform
There isn't really a looping construct, but there's still a way to perform a type of a loop in terraform. Btw - as a quick aside, the difference between a…
Multi Developer Terraform
Terraform built and run off your single user desktop is one thing; but getting terraform to work correctly across a development team requires addressing a few concerns. Concern 1 -…
Terraform GCP Error – Could not find default credentials
This post captures a couple of errors you might encounter getting started with terraform and GCP. ( Also read Protecting Service Account Keys in GCP ) and Sentinel tfplan policies…