Why do I get an unable to render: unable to execute template error when deploying a component?

Last updated: February 6, 2026

QUESTION

Why do I get an unable to render: unable to execute template error when deploying a component?

ANSWER

You may have incorrect templating/interpolation when referencing outputs from a component. In particular, be sure outputs is part of the templating.

# correct
cluster_arn             = "{{ .nuon.components.cluster.outputs.cluster_arn }}"

# incorrect
cluster_arn             = "{{ .nuon.components.cluster.cluster_arn }}"

DOCS