I have a launch template in my account which is being used by an autoscaling group.
Is there any way I can retrieve the userdata which is baked inside the template from either the console or the aws cli?
I could always login an instance and find it there but I’m wondering if this functionality is exposed somehow
2
Answers
This is what I ended up using:
You can use AWS CLI’s describe-launch-template-versions which returns
UserData
.