Terraform tricks : How to mimic nested variable substitution using locals

Intro                          “Developer’s constant urge to use Terraform like a programming language :)” My impression after enjoying my first terraform applys is that it’s kind of rigid, though when someone says Immutable and declarative in the same sentence, you should definitely get that it’s not procedural by design. Therefore,  you can’t expect a bash shell …

Terraform for dummies part 2: Launch an instance with a static website on AWS

Intro This has become a habit so far to explore different ways of automated provisioning for each cloud provider. This time, I will try Terraform on AWS and reproduce the same deployment I have completed on Oracle Cloud, and as usual we won’t just deploy an instance but also configure a website linked to its …

Terraform for dummies: Launch an instance with a static website on OCI

Intro Terraform brings a new paradigm where Infrastructure becomes a Code, and with Cloud becoming what it is today, everyone is invited at the (devops) table. Therefore, after provisioning with oci-cli in my previous BlogPost, I will explore the same task  using terraform.To add more fun, we won’t just deploy an instance but also configure …