turnerlabs / terraform-ecs-fargate

A Terraform template used for provisioning web application stacks on AWS ECS Fargate
Apache License 2.0
425 stars 158 forks source link

Workspaces #27

Closed murtyjones closed 5 years ago

murtyjones commented 5 years ago

Thank you for this template. Looks great, especially the documentation!

I have a question about the environment guide.

Say that you have a couple of environments, production and dev for example, and you want them to share a lot of the things in this template that currently live in env/dev. Is the idea for the user to move things into base as they become shared dependencies across environments?

jritsema commented 5 years ago

Hi @murtyjones, thanks for the feedback! Yes, that is the idea. Move any shared components up to the base directory. Our philosophy is generally, the less you share the better, which makes each environment more isolated and portable. That said, some folks here do share ALBs across environments so that might be an example of a shared component.