Originate / exosphere

A modern cloud-based micro-service framework
MIT License
18 stars 6 forks source link

update exocom dependency #941

Closed charlierudolph closed 6 years ago

charlierudolph commented 6 years ago

Add support for multiple deploys in a single account

resolves #937

charlierudolph commented 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"

hugoesthere commented 6 years ago

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.

charlierudolph commented 6 years ago

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.

hugoesthere commented 6 years ago

Yeah that's what I meant. Not too different from what we're doing, just that it's provided by terraform