type | string | ✅ Yes | component 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" |
name | string | ✅ Yes | component name Unique identifier for the component within the app. Used for referencing in dependencies and templates | - | "database" |
var_name | string | No | variable name for component output Optional name to use when storing component outputs as variables. If not specified, uses the component name | - | "db_endpoint" |
dependencies | array | No | component dependencies List of other components that must be deployed before this component. Automatically extracted from template references | - | "database" |
terraform_version | string | ✅ Yes | Terraform version Version of Terraform to use for deployments | - | "1.5.0" |
env_vars | object | No | environment variables Map of environment variables passed to Terraform as key-value pairs | - | - |
vars | object | No | Terraform variables Map of Terraform input variables as key-value pairs. Supports templating | - | - |
var_file | array | No | Terraform 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_repo | PublicRepoConfig | No | public repository configuration Configuration for a public repository accessible without authentication | - | - |
connected_repo | ConnectedRepoConfig | No | connected repository configuration Configuration for a private repository connected to the Nuon platform | - | - |
drift_schedule | string | No | drift detection schedule Cron expression for periodic drift detection. If not set, drift detection is disabled. Supports templating | - | - |
var | array | No | - | - | - |
env_var | array | No | - | - | - |