Import Gateway Configuration
import_gateway_configurationImport a database configuration into a connected gateway cluster, using inline DSL content or fetching from a Git repository.
Instructions
Import a DB configuration into a connected gateway cluster
The configuration content may be supplied inline via content, or fetched from a git repository via the git_* parameters. The gateway must be connected and active.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check | No | Dry-run diff showing what would change, with no writes. Mutually exclusive with validate. | |
| force | No | Overwrite existing resources. | |
| content | No | Inline DSL document to import — either the object returned by export_gateway_configuration, or a raw YAML/JSON string. Mutually exclusive with the git_* parameters. | |
| git_url | No | Git repository URL to import from. Requires git_file. Mutually exclusive with content. | |
| git_file | No | Path to the DSL file within the git repository. Required when git_url is set. | |
| validate | No | Parse and validate only, with no writes. Mutually exclusive with check. | |
| cluster_id | Yes | The cluster ID of the target gateway | |
| git_password | No | HTTP basic auth password for HTTPS git repositories. Supports $GATEWAYSECRET_(alias) references resolved by the gateway. | |
| git_username | No | HTTP basic auth username for HTTPS git repositories. | |
| git_reference | No | Branch, tag, or SHA to check out. Defaults to the repository's default branch. | |
| git_private_key | No | SSH private key file path on the gateway host filesystem. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| added | No | Resources added by the import | |
| skipped | No | Resources skipped by the import | |
| summary | No | Aggregate counts for the import | |
| replaced | No | Resources replaced by the import |