Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Commit 206db35

Browse files
authored
Stack based tagging (#53)
Changes: - All resources made from audit log or main yaml will be tagged the same - This is to assist our customers with determining the billing
1 parent d9e8ca1 commit 206db35

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

auditLogMover/serverless.yml

+3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@ service: audit-log-mover
22

33
custom:
44
stage: ${opt:stage, self:provider.stage}
5+
region: ${opt:region, self:provider.region}
56

67
provider:
78
name: aws
89
runtime: nodejs12.x
910
stage: dev
1011
region: us-west-2
1112
memorySize: 256
13+
stackTags:
14+
FHIR_SERVICE : 'fhir-service-${self:custom.region}-${self:custom.stage}'
1215
environment:
1316
CLOUDWATCH_EXECUTION_LOG_GROUP:
1417
Fn::ImportValue: CloudwatchExecutionLogGroup-${opt:stage, self:provider.stage}

serverless.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ provider:
1414
stage: dev
1515
runtime: nodejs12.x
1616
memorySize: 512
17+
stackTags:
18+
FHIR_SERVICE : 'fhir-service-${self:custom.region}-${self:custom.stage}'
1719
environment:
1820
API_URL:
1921
!Join [

0 commit comments

Comments
 (0)