Configuring a Terraform component
To configure a Terraform component, specify a repo, the required configuration values, and the version of Terraform to run it with.components/<your-component>.toml
public_repo block) or a private GitHub repo (using a connected_repo block).
Read more about VCS configuration here.
You can also put the Terraform source inside of the same repo as the app, and point to it.
If you include the Terraform source in the app repo, you must push the entire repo and do a manual build of the component in the dashboard or CLI. The CLI’s
nuon apps sync will not recognize that the component has changed so will not do the build.Configuring Terraform Vars
You can configure terraform variables for a component using component variables. These variables can access inputs, other Components, the sandbox, and details on the install itself using templating and interpolation.components/<your-component>.toml