Sandbox Setup - accelerate-data/migration-utility GitHub Wiki
Sandbox Setup
Creates a throwaway sandbox execution environment and persists it as runtime.sandbox in manifest.json.
Prerequisites
manifest.jsonwithruntime.sandboxextraction.schemasmust be a non-empty array in the manifest- The env-bound secrets referenced by the configured sandbox runtime must be set
- the sandbox backend must be available for the configured technology
What it does
- Loads the configured sandbox runtime from
manifest.json - Validates the sandbox environment variables for that technology
- Writes the current sandbox connection details into
manifest.json - Asks for confirmation unless
--yesis used - Provisions the sandbox by cloning the extracted schemas
- Persists the active sandbox name in
manifest.json - Reports clone counts and the sandbox status
Invocation
ad-migration setup-sandbox
Use --yes to skip the confirmation prompt (useful in scripts).
Idempotency
Safe to re-run. The CLI recreates the active sandbox endpoint for the current project state.
Connection variables
setup-sandbox requires the sandbox runtime variables for the configured technology. See:
Next Step
Proceed to Test Generation to generate test specs for your stored procedures.