Quantcast
Channel: Blog O' Matty on Prefetch Technologies
Viewing all articles
Browse latest Browse all 43

Adding default tags to AWS resources with Terraform

$
0
0
If you’ve worked with the various cloud providers, you’ve probably realized the value that comes with tagging resources. For billing and searching, I like to create a default set of tags that are applied to every resource. These include the group that owns the resource, the application type, and one or more operational tags. To keep things DRY, I keep a tags.tf file with entries similar to the following: variable "default_ec2_tags" { description = "Default set of tags to apply to EC2 instances" type = map default = { Environment = "Production" SupportTeam = "PlatformEngineering" Contact = "group@example.

Viewing all articles
Browse latest Browse all 43

Trending Articles