From 353bbe4f14def9c04a68fedb97b07184f0c7c74c Mon Sep 17 00:00:00 2001 From: y-temp4 Date: Mon, 17 Jun 2019 20:48:54 +0900 Subject: [PATCH] Remove lambda role --- api-template.yaml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/api-template.yaml b/api-template.yaml index f228da7d..9c0edca7 100644 --- a/api-template.yaml +++ b/api-template.yaml @@ -159,24 +159,6 @@ Resources: Name: AWS::Include Parameters: Location: ./swagger/swagger.yaml - LambdaRole: - Type: "AWS::IAM::Role" - Properties: - AssumeRolePolicyDocument: - Version: "2012-10-17" - Statement: - - Effect: "Allow" - Principal: - Service: - - "lambda.amazonaws.com" - - "cognito-idp.amazonaws.com" - Action: - - "sts:AssumeRole" - ManagedPolicyArns: - - arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess - - arn:aws:iam::aws:policy/CloudWatchLogsFullAccess - - arn:aws:iam::aws:policy/AmazonS3FullAccess - - arn:aws:iam::aws:policy/AmazonCognitoPowerUser Authorizer: Type: AWS::Serverless::Function Properties: