nais postgres get
nais postgres get POSTGRES [flags]
Show configured settings and a coarse platform-reported status, not SQL connectivity, workload readiness, or completion of end-to-end resource updates. Omitted resource requests are not configured; defaults are not inferred. Detailed provisioning stages are unavailable. Use branch commands to inspect branches.
Options
-o,--output- Format output (table or json).
Inherited options
--config- Specify the
PATHto the configuration file. -e,--environment- Specify the
ENVIRONMENTto use for this command. Overrides the default environment from configuration. --no-colors- Disable colors in the output.
-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.
Examples
# Describe a Postgres in a specific environment.
$ nais postgres get my-postgres -t my-team -e dev-gcp
# Resolve the environment of an existing Postgres and show configuration as JSON.
$ nais postgres get my-postgres -t my-team --output json