This file contains hidden or 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
exports.handler = function(event, context, callback) { | |
var aws = require('aws-sdk'); | |
aws.config.update({region:'ap-southeast-2'}); | |
var ecs = new aws.ECS(); | |
var taskDefinition = 'nab-property-tool'; | |
var serviceName = 'nab-property-tool'; | |
var clusterName = 'default'; | |
console.log("Creating new Task"); |
NewerOlder