nf backend show
Show the state backend the settings choose, where each of its values came from, and where states go with it.
Synopsis
nf backend show
Output
Each setting given (backend_type, backend_s3_bucket...), its value, and where it came from: its
flag, [tool.nf.config], or AWS_DEFAULT_REGION for the S3 region. With no settings the backend
is local (default). Then where a hybrid app's state is, and a legacy stack's, for the apps and
stacks whose code names no backend:
Hybrid apps' state: s3://acme-nf-state/platform/nf.tfstate
Legacy stacks' state: s3://acme-nf-state/platform/<stack>/terraform.tfstate
When the settings cannot give a hybrid app's state (an S3 backend without its bucket or region, a
type other than local and s3), it says why.
Flags given with it are shown as the backend they choose:
nf --backend-type s3 --backend-s3-bucket acme-nf-state backend show