I have created a three step functions 1. create an ec2 instance 2. generate APK 3. shutdown machine
The first and third function works properly, but in the second function, I need to run a shell script which is in the ec2 instance to generate apk. So How can I run this script from step function?