How to pass userdata to AWS Elastic beanstalk instance launched with custom AMI

Viewed 5781

I need the elastic beanstalk instances which is launched with my custom AMI to run some userdata i.e: bash scripts.

I want to copy some files and execute my application .jar in user-data which is bundled in my custom AMI which has been created using packer.

Is there any way to do this with AWS elastic beanstalk?

2 Answers
Related