1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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);
respondido há 3 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 3 anos
- AWS OFICIALAtualizada há um ano