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: