-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathGruntfile.js
More file actions
32 lines (29 loc) · 761 Bytes
/
Copy pathGruntfile.js
File metadata and controls
32 lines (29 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
module.exports = function(grunt) {
grunt.initConfig({
lambda_invoke: {
default: {
options: {
// Task-specific options go here.
}
}
},
lambda_package: {
default: {
options: {
// Task-specific options go here.
}
}
},
lambda_deploy: {
default: {
arn: 'arn:aws:lambda:us-east-1:919386026801:function:twitteroauth', // Replace this with your own
options: {
region: 'us-east-1'
}
}
}
});
grunt.loadNpmTasks('grunt-aws-lambda');
grunt.registerTask('deploy', ['lambda_package', 'lambda_deploy']);
grunt.registerTask('default', ['lambda_package']);
};