Terraform

terraform actions - I like hooks and I cannot lie Members Public

Terraform 1.14 beta brings actions - a decent approach to run one shot events on state transitions. Check out this post to see an example and how it can be done already today.

Daniel Nachtrub
Daniel Nachtrub
Cloud

Terraform map expansion - interface ranges 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!

Daniel Nachtrub
Daniel Nachtrub
Cloud

Ansible - pretty print output 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.

Daniel Nachtrub
Daniel Nachtrub
IaC

Object attribute defaults on terraform - hello simplicity 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.

Daniel Nachtrub
Daniel Nachtrub
IaC

Configurable default values on terraform objects 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.

Daniel Nachtrub
Daniel Nachtrub
Terraform

Terraform - applying complex default values 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.

Daniel Nachtrub
Daniel Nachtrub
Cloud