[tvlk-dev] Tag your resources in AWS

Why?

In the spirit of cost-reduction effort, cost-attribution is required to increase visibility and accountability. On a shared account environment such as tvlk-dev, proper cost-attribution can be achieved by proper resource tagging. As of now, almost half of the total cost of tvlk-dev comes from untagged resources. This cost cannot be attributed to a specific ProductDomain/BU.

Which Resources must be Tagged

Which resources are affected ?

Check the sheet which contains all the details here, If any resource which you are using is mentioned in the sheet, Then please follow Site-infra guidelines to tag your resources .

Tags which are invalid

We have also observed that many of the resources and tagged but they are not following the conventions as mentioned here, Please make a note productdomain Productdomain productDomain are invalid tags and also need to be fixed. Please tag your resources as per SI guidelines.

How to Tag AWS Resources

#1: You provisioned the resources via Terraform

tags = {
    Name          = "${module.launch_template_name.name}"
    Service       = "${var.service_name}"
    ProductDomain = "${var.product_domain}"
    Environment   = "${var.environment}"
    ManagedBy     = "terraform"
}

#2: You provisioned the resources via AWS console/CLI

#2.1:

#2.2:

#2.3:

References

[1] https://docs.google.com/spreadsheets/d/1ThrHlOjk7OfUOBuADn-9Cw0nB8pxCN8boVPpSBDQ1rA/edit?usp=sharing
[2] https://29022131.atlassian.net/wiki/spaces/SI/pages/196952337/AWS+Resource+Tagging+Policy
[3] https://tvlk.slack.com/files/T02T3CAFM/F011X5DHQTA?origin_team=T02T3CAFM