2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hello
to get the instance user data, you can try the describe instance attribute
aws ec2 describe-instance-attribute --instance-id <InstanceID> --attribute userData
where <InstanceID> is your instance id
https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instance-attribute.html
hope this helps
RT
répondu il y a 5 ans
0
Great! I hadn't found that. That gives me an encoded text blob, which when base64 decoded, gives me the data!
Thanks!
Kevin
répondu il y a 5 ans
Contenus pertinents
- demandé il y a 7 mois
- demandé il y a un an
- demandé il y a un an
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 4 ans