Branch
Properties
| Property | Description | Values | Example |
|---|---|---|---|
namestring | name of the app branch | ✅ Required | - |
connected_repoConnectedRepoConfig | connected GitHub repo the branch tracks | Optional | - |
public_repoPublicRepoConfig | public git repo the branch tracks | Optional | - |
install_groupsarray | ordered deployment groups for this branch | Optional | - |
connected_repo
| Property | Description | Values | Example |
|---|---|---|---|
repostring | repository identifier Identifier of the connected repository configured in the Nuon platform | ✅ Required | "my-repo", "production-infrastructure" |
directorystring | directory path Path within the repository to the configuration files | ✅ Required | "terraform", "infra/terraform" |
branchstring | Git branch Git branch to checkout and use for deployments | ✅ Required | "main", "develop", "production" |
public_repo
| Property | Description | Values | Example |
|---|---|---|---|
repostring | repository URL HTTPS URL to the public Git repository | ✅ Required | "https://github.com/user/repo.git", "https://github.com/user/terraform-modules.git" |
directorystring | directory path Path within the repository to the configuration files | ✅ Required | "terraform", "infra/terraform" |
branchstring | Git branch Git branch to checkout and use for deployments | ✅ Required | "main", "develop", "production" |
install_groups
| Property | Description | Values | Example |
|---|---|---|---|
namestring | name of the install group | ✅ Required | - |
orderinteger | deployment order (lower runs first) | Optional | - |
use_for_previewsboolean | use this group for plan-only preview runs | Optional | - |
install_idsarray | static list of install IDs | Optional | - |
install_namesarray | static list of install names, resolved to IDs at sync time | Optional | - |
label_selectorobject | label key-value pairs to dynamically match installs | Optional | - |