Skip to content

Commit

Permalink
Tag cloudfront with service name (#942)
Browse files Browse the repository at this point in the history
* Tag cloudfront with service name

* Tagging the api gateway
  • Loading branch information
devinmatte authored Jan 23, 2024
1 parent cdce55a commit 9402fa0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
8 changes: 8 additions & 0 deletions server/.chalice/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
"DD_ENV": "prod",
"TM_FRONTEND_HOST": "dashboard.transitmatters.org"
},
"tags": {
"service": "t-performance-dash",
"env": "prod"
},
"api_gateway_custom_domain": {
"domain_name": "dashboard-api.labs.transitmatters.org",
"tls_version": "TLS_1_2",
Expand All @@ -37,6 +41,10 @@
"DD_ENV": "beta",
"TM_FRONTEND_HOST": "dashboard-beta.labs.transitmatters.org"
},
"tags": {
"service": "t-performance-dash",
"env": "beta"
},
"api_gateway_custom_domain": {
"domain_name": "dashboard-api-beta.labs.transitmatters.org",
"tls_version": "TLS_1_2",
Expand Down
8 changes: 7 additions & 1 deletion server/cloudformation.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,13 @@
"AcmCertificateArn": { "Ref": "TMFrontendCertArn" },
"SslSupportMethod": "sni-only"
}
}
},
"Tags": [
{
"Key": "service",
"Value": "t-performance-dash"
}
]
}
}
},
Expand Down

0 comments on commit 9402fa0

Please sign in to comment.