It looks like you are combining syntax from Drone 0.8 and Drone 1.x which is causing problems. When using Drone 1.x you need to define all pipeline steps in the steps section of the yaml as shown here.
thanks @bradrydzewski for your help. really appreciate it. are you availabe in skype or any other platform. it would be really helpful if we could talk .
If you continue to experience issues I recommend you contact the plugin author. I can advise on general matters (yaml syntax issues, etc) however, I did not create this plugin and therefore cannot advise on its behavior. You can contact the author at https://github.com/josmo/drone-elastic-beanstalk