~/talk

Best Practices for Terraform AWS Tags

Talkat HashiTalks 2022 · 2022-02-17..02-18· [cloud-infrastructure]
links:none on file
slides:none on file

Introduces Terraform's default_tags (Terraform 0.12.31 + AWS provider 3.38.0) as a 10-line way to auto-tag almost every AWS resource, shows using data.aws_default_tags to read keys, and demonstrates concrete workarounds: create alternate provider for S3 objects (10-tag limit), remove duplicate tags to avoid the exactly identical tags error and the partial-match plan churn, use propagate_at_launch for ASG tags and tag_specifications/merge for launch templates and EC2 volume tags so attached volumes inherit tags.

AI-written summary · about

  1. 0:00Introduction to AWS tags
  2. 2:32Why use Terraform default tags
  3. 8:20Setting up default tags
  4. 15:09Common bugs with default tags
  5. 20:47Workarounds for ASGs and volumes
  6. 27:57Key takeaways and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.