Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the AWS tagging in Terraform #38

Open
3 tasks
ben851 opened this issue Mar 27, 2023 · 4 comments
Open
3 tasks

Improve the AWS tagging in Terraform #38

ben851 opened this issue Mar 27, 2023 · 4 comments
Labels
Blocked | Bloqué Outside factors prevent us from doing this right now Tech Debt An issue targeting an identified technical debt

Comments

@ben851
Copy link
Contributor

ben851 commented Mar 27, 2023

Description

As a developer/operator of Notify, I want every resource that we create under the infrastructure as code in AWS to be tagged consistently across all environments

WHY

Consistent tagging allows operators the ability to quickly locate, identify, and track resources within AWS.

WHAT

We can investigate default tagging policies within AWS so that all resources that are created are automatically tagged with pre-determined default tags. We can then remove a lot of tagging objects from the terraform code, and only add tags on individual resources as required.

VALUE

Consistent tagging will ensure that we are fully aware of what resources are doing and what solution they are a part of. It will allow us to create management scripts that can target specific resources, which would be good for eliminating toil and environment automation.

Acceptance Criteria

  • All future resources are automatically tagged as per the tagging policies defined in terraform.

QA Steps

  • Deploy new resources and ensure resource tagging is done correctly
  • Deploy the tagging policy to existing resources and ensure that they are tagged correctly
@ben851 ben851 added Low Hanging Fruit | Pff! Facile! Low hanging fruit task. Tech Debt An issue targeting an identified technical debt labels Mar 30, 2023
@jimleroyer
Copy link
Member

Hey team! Please add your planning poker estimate with Zenhub @ben851 @sastels

@jimleroyer
Copy link
Member

@sastels sastels changed the title Update and expand the AWS tagging in Terraform Improve the AWS tagging in Terraform Apr 3, 2023
@ben851
Copy link
Contributor Author

ben851 commented Apr 3, 2023

Rated a little higher than the team, in Azure, automatic tagging policies were not very easy to set up. Maybe (hopefully) it's different in AWS

@sastels
Copy link

sastels commented Apr 6, 2023

investigated a bit. AWS supports declaring default tags in the provider, however they're currently buggy. SRE spent some time looking into them but gave up because of the problems. The terraform folks plan to have the bugs fixed in the next major release of terraform (v5). See this Slack thread for more info.

Suggest we wait until version 5 of terraform is released.

@sastels sastels removed the Low Hanging Fruit | Pff! Facile! Low hanging fruit task. label Apr 6, 2023
@sastels sastels added the Blocked | Bloqué Outside factors prevent us from doing this right now label May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocked | Bloqué Outside factors prevent us from doing this right now Tech Debt An issue targeting an identified technical debt
Projects
None yet
Development

No branches or pull requests

3 participants