Skip to content

Commit c04c3fb

Browse files
committed
Updated aws-sdk and serverless framework versions
1 parent 4b19a13 commit c04c3fb

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"name": "aws-ddns",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Dynamic DNS with AWS (Route 53, API Gateway, Route 53)",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/panchosoft/AWS-DDNS.git"
8+
},
59
"main": "app.js",
610
"scripts": {
711
"test": "echo \"Error: no test specified\" && exit 1"
@@ -18,6 +22,6 @@
1822
"author": "Francisco Leyva",
1923
"license": "ISC",
2024
"devDependencies": {
21-
"aws-sdk": "^2.1031.0"
25+
"aws-sdk": "^2.1144.0"
2226
}
2327
}

serverless.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,21 @@
22
service: aws-ddns
33

44
# Serverless Framework version
5-
frameworkVersion: ">=2.0.0"
5+
frameworkVersion: ">=3.0.0"
66

77
# Provider details
88
provider:
99
name: aws
1010
stage: ${opt:stage, 'prod'}
1111
region: ${opt:region, 'us-east-2'}
1212
runtime: nodejs12.x
13-
iamRoleStatements:
14-
- Effect: 'Allow'
15-
Action:
16-
- 'route53:ChangeResourceRecordSets'
17-
Resource: '*'
13+
iam:
14+
role:
15+
statements:
16+
- Effect: 'Allow'
17+
Action:
18+
- 'route53:ChangeResourceRecordSets'
19+
Resource: '*'
1820

1921
# Functions declaration
2022
functions:

0 commit comments

Comments
 (0)