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

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


Cover of Infrastructure as Code


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.