-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Config option would set result into grunt.config:
if(typeof options.config === "string") {
grunt.config.set(options.config, str);
}Sample task config:
scanDeploymentHistory: {
service: "dynamodb",
method: 'scan',
options: {
config: "scanDeploymentHistoryRes"
},
params: {
TableName: "mydeploymenthistory",
"FilterExpression": "deploymentId = :val",
"ExpressionAttributeValues": {":val": {"S": "test0"}},
"ReturnConsumedCapacity": "TOTAL"
}
}Usage:
grunt.registerTask('testDynamo',
[
'aws:scanDeploymentHistory',
'getScanResult'
]);
grunt.registerTask('getScanResult', function (arg) {
var res = grunt.config.get('scanDeploymentHistoryRes');
console.log('res', res);
});Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels