Page MenuHomePhabricator

[services][terraform] Add default ManagedBy tag to all resources
ClosedPublic

Authored by bartek on Jul 19 2023, 9:32 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 12:05 AM
Unknown Object (File)
Sat, Nov 23, 7:18 AM
Unknown Object (File)
Tue, Nov 5, 7:31 AM
Unknown Object (File)
Tue, Nov 5, 7:31 AM
Unknown Object (File)
Tue, Nov 5, 7:31 AM
Unknown Object (File)
Tue, Nov 5, 7:31 AM
Unknown Object (File)
Tue, Nov 5, 7:27 AM
Unknown Object (File)
Fri, Nov 1, 4:33 PM
Subscribers

Details

Summary

Set up a default tag ManagedBy = Terraform to all resources created by Terraform. This will allow us to identify resources created by Terraform and distinguish them from resources created manually.

Depends on D8570

Test Plan

terraform plan shows that the tag will be added to dynamodb tables and s3 buckets.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Jul 19 2023, 10:37 AM
jon added inline comments.
services/terraform/remote/main.tf
16 ↗(On Diff #28847)

should we stick to snake case? seems odd to intersperse title case here

This revision now requires changes to proceed.Jul 19 2023, 11:41 AM
bartek added inline comments.
services/terraform/remote/main.tf
16 ↗(On Diff #28847)

Initially I thought this is AWS convention to use PascalCase but now I took another look and see they mix conventions so I'm okay with snake_case

Screenshot 2023-07-19 at 20.53.50.png (284×405 px, 27 KB)

This revision is now accepted and ready to land.Jul 20 2023, 8:51 AM