2 Answers
- Newest
- Most votes
- Most comments
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
answered 5 years ago
0
Great! I hadn't found that. That gives me an encoded text blob, which when base64 decoded, gives me the data!
Thanks!
Kevin
answered 5 years ago
Relevant content
- Accepted Answerasked 2 years ago
- Accepted Answerasked 7 months ago
- Accepted Answerasked 3 months ago
- asked 5 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago