1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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);
con risposta 3 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 3 anni fa