Skip to content

Commit

Permalink
refactor: revert back to sls v3
Browse files Browse the repository at this point in the history
  • Loading branch information
m-sureshraj committed Jul 28, 2024
1 parent 074a8fa commit cf929e7
Show file tree
Hide file tree
Showing 4 changed files with 13,464 additions and 714 deletions.
2 changes: 1 addition & 1 deletion deployment-with-github-actions/index.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const handler = async (event) => {
return {
statusCode: 200,
body: JSON.stringify({ message: 'Deployed with GitHub Actions!' }),
body: JSON.stringify({ message: 'Deployed with GitHub Actions!!' }),
headers: {
'content-type': 'application/json',
},
Expand Down
2 changes: 1 addition & 1 deletion deployment-with-github-actions/infra/resources.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GithubActionDeploymentRole:
Type: AWS::IAM::Role
Properties:
RoleName: GithubActionDeploymentRole
RoleName: github-action-deployment-role-${self:provider.stage}
MaxSessionDuration: 3600 # 1 hour
Description: This role will be used to deploy resources through Github Actions

Expand Down
Loading

0 comments on commit cf929e7

Please sign in to comment.