I often find myself forgetting which remote state I’m operating on.
I can query the list of workspaces using terraform workspaces list
, but I’ve several remote states with similar workspaces, so the the list of workspaces doesn’t uniquely identify the remote state.
Is there a way to obtain the remote state configuration using the CLI without looking deep into the .terraform
folder, which contents should be considered a technical detail and cannot be depended upon?