I'm trying to figure out how I can use completely different state backends for different environments. Eg. I want to use
gcs
for production and local file system for local development. I have so far only found solutions involving
MELTANO_ENVIRONMENT
variable, but can't seem to figure out how that lets me change anything but the path/bucket name in the same backend.
I've tried putting
state_backend
under an environment like so, but that seems to ignore the setting
environments:
- name: prod
config:
state_backend: ...