Closed charlierudolph closed 6 years ago
On titan, we are deploying 4 environments in a single aws account (each cluster is prefixed with a different env). Each is available as a subdomain of "internal.xxx.com"
Just something to bring up, Terraform has something similar built-in: https://www.terraform.io/docs/state/workspaces.html
It requires switching workspaces each time your deploy (which might actually be a better way of switching environments than doing exo deploy qa
). But it might also be more trouble than it's worth. All it does is provide the ability to prefix your resources (which we do manually), and creates different state files, which we do by creating separate buckets. Just something to think about.
Looking at the documentation on workspaces, I don't see that it does the prefixing of resources for you. Instead it appears we can use the workspace in the names of resources.
Yeah that's what I meant. Not too different from what we're doing, just that it's provided by terraform
Add support for multiple deploys in a single account
resolves #937