Reputation: 3787
Currently, I'm trying to automate build and deploy process of ElasticBeanstalk. Especially, I'm searching for a way to operate following process separately.
Now 2 is relatively trivial; the Web Console UI tells me how to.
About 1, I currently cannot find how to achieve this; the closest command I've found is eb deploy
, which can do ApplicationVersion upload but also is tied to (as the name suggest) deployment.
Now the main reason why I want to do this is because I'd like to setup the process 1 achieved by Aws CodeBuild. If it was only uploading an ApplicationVersion, then all the configuration I'd need would be an appropriate IAM configuration. If 2 is needed, then I'd also need the private Key for accessing the env's instance, so I need to manage private key on Aws CodeBuild procedure, which I think would be rather cumbersome and would like to avoid.
Upvotes: 0
Views: 301
Reputation: 3787
Okay, I realized that to do this, I need to use aws
command instead of eb
command.
What I needed was aws elasticbeanstalk create-application-version
Upvotes: 1