Skip to content

Commit

Permalink
Revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rkmudunuru committed Aug 28, 2024
1 parent e4a4940 commit 7fa82c7
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ provider:
role: ${env:SLS_LAMBA_ROLE}
stage: ${env:TARGET_ENV_NAME}
region: ${env:TARGET_REGION}
api_gw_id: ${env:API_GATEWAY_ID}
deploymentBucket:
name: ${env:SLS_BUCKET}
vpc:
Expand All @@ -16,18 +15,6 @@ provider:
subnetIds:
- ${env:SLS_SUBNET_1}
- ${env:SLS_SUBNET_2}
iamRoleStatements:
- Effect: Allow
Action: lambda:InvokeFunction
Resource:
- !Sub 'arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:cpx-${self:provider.stage}-processMessage'
- !Sub 'arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:cpx-${self:provider.stage}-getMessage'
- !Sub 'arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:cpx-${self:provider.stage}-getMessagesAtom'
Principal: apigateway.amazonaws.com
SourceArn:
- !Sub 'arn:aws:execute-api:${AWS::Region}:${AWS::AccountId}:${env:API_GATEWAY_ID}/*/POST/message'
- !Sub 'arn:aws:execute-api:${AWS::Region}:${AWS::AccountId}:${env:API_GATEWAY_ID}/*/GET/message/*'
- !Sub 'arn:aws:execute-api:${AWS::Region}:${AWS::AccountId}:${env:API_GATEWAY_ID}/*/GET/messages.atom'

package:
exclude:
Expand Down

0 comments on commit 7fa82c7

Please sign in to comment.