Created
April 30, 2016 13:32
-
-
Save marcelpanse/5bc08a72bdcd6b5e21d49bf2e5915504 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function (grunt) { | |
grunt.initConfig({ | |
lambda_invoke: { | |
default: { | |
options: { | |
// Task-specific options go here. | |
file_name: "UpdateAccount.js" | |
} | |
} | |
}, | |
lambda_deploy: { | |
default: { | |
options: { | |
// Task-specific options go here. | |
timeout: 5, | |
memory: 512, | |
region: "eu-west-1" | |
}, | |
arn: 'arn:aws:lambda:eu-west-1:568910095166:function:UpdateAccount' | |
} | |
}, | |
lambda_package: { | |
default: { | |
options: { | |
// Task-specific options go here. | |
} | |
} | |
} | |
}); | |
grunt.registerTask('default', ['lambda_invoke']); | |
grunt.registerTask('deploy', ['lambda_package', 'lambda_deploy']); | |
grunt.loadNpmTasks('grunt-aws-lambda'); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment