This Repo is all about sharing Tips and Tricks learnt using whilst Terraform. It will contain small examples, samples, snippets, and more. With each tip or trick a code sample is included, along with an explanation, and screenshots if necessary.
❓ Want to Contribute to this Repository? Please read the guide here.
- Getting Setup the right way, use Chocolatey! - This explains how to get Terraform, and other supporting apps installed easily using Chocolatey.
- Using Count and Length together - This explains how to use Count and Length together, allowing dependent Resource creation based on others that use Count.
- CIDRHost Demo - This explains how to use the CIDRHost function to create IP addresses from a CIDR range provided using a variable.
- CIDRSubnet Demo - This explains how to use the CIDRSubnet function to create IP ranges (Used in Azure VNets and Subnets) from a CIDR range provided using a variable.