Skip to content

Commit

Permalink
feat: test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gagan1510 committed May 7, 2024
1 parent 5a8e9e4 commit 0a8af1d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions sc-platform-pii-lambda/template.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0a8af1d

Please sign in to comment.