Terraspace Tfvars Complex Types Transforming Data to Needed Structure Before Terraform Apply

Terraspace Tfvars Complex Types Transforming Data to Needed Structure Before Terraform Apply

January 9, 2022

When wiring terraform outputs to inputs between modules, sometimes the data structure is not exactly what you need. We'll show how to transform data structures in different ways. This can help you to reuse modules from the Terraform registry without having to change its source code at all.

  1. HCL: Useful if you are able to change the source code of the terraform code of the second stack.
  2. Ruby: Useful if you are unable to change the source code of any of the terraform code.

Links

Get full access to these great resources

All for less than the price of coffee a day

43 courses
274 lessons
44+ hours

Get started with BoltOps Learn now and get access to easy and powerful lessons

BoltOps Tools