O'Reilly logo
  • Leonardo Pepe de Freitas thinks this is interesting:

$ terraform apply -state=qa-env.tfstate -var environment=qa

From

Cover of Infrastructure as Code

Note

For solution which has variants between environments this solution does not fit. In cases such as this it is preferred to have different modules serving this environments. Ex.: in development you should use a single instance heather then use an auto scaling group.