Skip to content

Commit 09d8f6b

Browse files
committed
create a KMS Key and Alias
1 parent e8f0cf8 commit 09d8f6b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

serverless.yml

+9
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,15 @@ functions:
8181

8282
resources:
8383
Resources:
84+
KmsKey:
85+
Type: AWS::KMS::Key
86+
87+
KmsAlias:
88+
Type: AWS::KMS::Alias
89+
Properties:
90+
AliasName: ${self:provider.stage}
91+
TargetKeyId: !Ref KmsKey
92+
8493
GithubSecret:
8594
Type: AWS::SecretsManager::Secret
8695
Properties:

0 commit comments

Comments
 (0)