environment should be used in every resource for tagging and generating names
However, the code implementation reveals that we use namespace everywhere for tagging resources.
For this reason, we must use a namespace that includes the environment name... and an environment that includes the namespace (which reduces the flexibility to use this var).
Expected
Given the application my-blog:
namespace should be my-blog-web
environment should be staging (or prod)
the resources should be tagged with a local "${namespace}-${environment}-some-name"
Steps to reproduce
Create or open any infra repo that use this template 😇
Issue
When reading the definition of the 2 variables:
However, the code implementation reveals that we use
namespace
everywhere for tagging resources.For this reason, we must use a namespace that includes the environment name... and an environment that includes the namespace (which reduces the flexibility to use this var).
Expected
Given the application
my-blog
:my-blog-web
staging
(orprod
)"${namespace}-${environment}-some-name"
Steps to reproduce