From 0a8af1dee2b3be9b0e1e22333262e30bb224f6f9 Mon Sep 17 00:00:00 2001 From: smallcase Date: Tue, 7 May 2024 13:43:55 +0530 Subject: [PATCH] feat: test commit --- sc-platform-pii-lambda/template.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 sc-platform-pii-lambda/template.yaml diff --git a/sc-platform-pii-lambda/template.yaml b/sc-platform-pii-lambda/template.yaml new file mode 100644 index 0000000..eb1a60c --- /dev/null +++ b/sc-platform-pii-lambda/template.yaml @@ -0,0 +1,28 @@ +AWSTemplateFormatVersion: '2010-09-09' +Transform: AWS::Serverless-2016-10-31 +Description: > + sc-platform-pii-lambda + + Sample SAM Template for sc-platform-pii-lambda + +# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +Globals: + Function: + Timeout: 6 + +Resources: + DEKCreationFunction: + Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction + Properties: + CodeUri: dek-creator/ + Handler: app.lambdaHandler + Runtime: nodejs18.x + Policies: + - Statement: + - Sid: FetchSecret + Effect: Allow + Action: + - secretsmanager:GetSecretValue + Resource: 'arn:aws:secretsmanager:ap-south-1:736414281642:secret:staging-platform-pii-lambda-p801Bd' + Architectures: + - x86_64 \ No newline at end of file