3 ms·
Here's an example of a nested function call from one of my infrastructure files: public_key = "${file("${path.root}/../ssh/id_rsa.pub")}" Is this terraf
by scrollaway 8y ago
Here's an example of a nested function call from one of my infrastructure files:
public_key = "${file("${path.root}/../ssh/id_rsa.pub")}"
Is this terraform's implementation, or hcl's? HCL has to implement that syntax somehow, right?
- skybrian 8y agoIt looks like they have an "interpolation syntax" that works with either JSON or hcl. I guess that's a separate but related mini-language? https://www.terraform.io/docs/configuration/interpolation.html https://www.terraform.io/docs/configuration/interpolation.ht...
- scrollaway 8y agoHmmmm, does that make it pre-processing on hcl? If so I guess that makes a little more sense.