1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
I found this was caused by not waiting the sendCommand.
This works fine.
//Modified these lines
// await SSM.sendCommand(params, function(err, data){
// if(err){
// console.log("error", err);
// }else{
// console.log("success", data);
// }
// });
//this works fine
const sendCommandResult = await SSM.sendCommand(params).promise();
console.log(sendCommandResult);
répondu il y a 3 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 6 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an