IaC
Helm & variable scopes Paid Members Public
When using variables to track state across loop iterations in Helm templates, declare them outside the loop scope or they'll reset on each iteration.
Terraform map expansion - interface ranges Paid Members Public
Expanding value ranges dynamically in terraform can help you to compact your configuration and keep the focus on the values. It takes a few moments to expand the values using regex magic, still it's worth the effort!
Helm's Hidden Quirks: Merging boolean values Paid Members Public
Helm is a powerful tool for manageing Kubernetes applications. Despite its ubiquity in the kubernetes-world, there are some nuances to consider when working with boolean values—especially when merging complex objects.
Ansible - pretty print output Paid Members Public
Sometimes you want to print more or extensive information on ansible output (in this case a terraform plan). This can easily be realised using an stdout callback.
Object attribute defaults on terraform - hello simplicity Paid Members Public
Using terraform's object attributes defaults empowers you to create complex input values that still apply default values on a highly granular level. This post shows an example how to use this.
Configurable default values on terraform objects Paid Members Public
Creating complex configurations requires many dimensions on the input - this post shows how to take care of default values in such a case to offer users of your code fine grained control without enforcing too much input if not required.
Terraform - applying complex default values Paid Members Public
This post explores handling default values in Terraform. It shows merging default values with instance-specific values, using both native merge and the deepmerge module for recursive merging of nested objects. This approach ensures compact, maintainable code and seamless use of default values.