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" |
dockerfile | string | ✅ Yes | path to the Dockerfile Path to the Dockerfile to build. Supports external file sources: HTTP(S) URLs (https://example.com/Dockerfile), git repositories (git::https://github.com/org/repo//Dockerfile… | - | "Dockerfile" |
env_vars | object | No | build environment variables Map of environment variables to pass to the Docker build command. Available during the build process. Supports Go templating | - | "GOLANG_VERSION" |
public_repo | PublicRepoConfig | No | public repository containing Dockerfile Clone a public GitHub repository containing the Dockerfile and build context. Requires repo, branch, and optionally directory | - | - |
connected_repo | ConnectedRepoConfig | No | connected repository containing Dockerfile Use a Nuon-connected repository containing the Dockerfile and build context. Requires repo, branch, and optionally directory | - | - |