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 location for the configuration file.
-c,--context- REMOVED, see –environment.
--dry-run- Perform a dry run of the migration without applying changes.
-e,--environment- The
ENVIRONMENTto use. -n,--namespace- REMOVED, see –team.
--no-colors- Disable colors in the output.
-r,--reason- Justification for accessing the database. Required for audit logging.
-t,--team- Specify the team to 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.