Skip to main content

Terraform

Properties

PropertyTypeRequiredDescriptionDefaultExample
typestring✅ Yescomponent type Type of component to deploy. Determines which configuration block is required (helm_chart, terraform_module, docker_build, container_image, kubernetes_manifest, or job)-"terraform_module"
namestring✅ Yescomponent name Unique identifier for the component within the app. Used for referencing in dependencies and templates-"database"
var_namestringNovariable name for component output Optional name to use when storing component outputs as variables. If not specified, uses the component name-"db_endpoint"
dependenciesarrayNocomponent dependencies List of other components that must be deployed before this component. Automatically extracted from template references-"database"
terraform_versionstring✅ YesTerraform version Version of Terraform to use for deployments-"1.5.0"
env_varsobjectNoenvironment variables Map of environment variables passed to Terraform as key-value pairs--
varsobjectNoTerraform variables Map of Terraform input variables as key-value pairs. Supports templating--
var_filearrayNoTerraform variable files Array of external Terraform variable files to load. Each file contents support templating and external file sources: HTTP(S) URLs (https://example.com/vars.tfvars), git rep…--
public_repoPublicRepoConfigNopublic repository configuration Configuration for a public repository accessible without authentication--
connected_repoConnectedRepoConfigNoconnected repository configuration Configuration for a private repository connected to the Nuon platform--
drift_schedulestringNodrift detection schedule Cron expression for periodic drift detection. If not set, drift detection is disabled. Supports templating--
vararrayNo---
env_vararrayNo---

Property Details

type

Examples:
"terraform_module"
"helm_chart"
"docker_build"
"container_image"
"kubernetes_manifest"

name

Examples:
"database"
"api-server"
"frontend"

var_name

Examples:
"db_endpoint"
"api_host"

dependencies

Examples:
"database"
"infrastructure"

terraform_version

Examples:
"1.5.0"
"1.6.0"
"latest"