nais postgres migrate promote
nais postgres migrate promote APP_NAME TARGET_SQL_INSTANCE_NAME [flags]
Promote will promote the target instance to the new primary instance, and update the application to use the new instance.
Options
--no-wait- Do not wait for the job to complete.
Inherited options
--config- Specify the
PATHto the configuration file. --dry-run- Perform a dry run of the migration without applying changes.
-e,--environment- Specify the
ENVIRONMENTto use for this command. Overrides the default environment from configuration. --no-colors- Disable colors in the output.
-r,--reason- Justification for accessing the database. Required for audit logging.
-t,--team- Specify the
TEAMto use for this command. Overrides the default team from configuration. -v,--verbose- Set verbosity level. Use -v for verbose, -vv for debug, -vvv for trace.