You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can also use the action to deploy an existing version. To do this simply omit the deployment-package input parameter. The action will then assume that the version you pass in throught version_label already exists in Beanstalk and attempt to deploy that.
I am interested in a solution to the situation where the desired behavior is to:
use the already deployed version if it exists
otherwise, create the version from deployment-package
Basically, ignore deployment-package if the version already exists on s3.
This would address the following error that occurs if you deploy to multiple environments as demonstrated in #5 (comment):
Deployment failed: Error: Version XXXX already exists in S3!
In our case, XXXX is the source commit hash, so we don't have to worry about version being ambiguous.