register_application_revision fails when deploying to AWS

codedeploy
aws

#1

Hi All,
I’m having an issue when trying to deploy my app to aws.
this is my configuration ( based on recommended_config):
deployment:

  staging:
     branch: master
     codedeploy:
       my_app_name:
         application_root: /
         revision_location:
           revision_type: S3
           s3_location:
             bucket: my-bucket
             key_pattern: my_app_name-{SHORT_COMMIT}
        deployment_group: DeploymentGroup
        deployment_config: CodeDeployDefault.AllAtOnce

uploading the bundle to S3 succeeded.
then when trying to register the revision:

when calling this command from the AWS CLI:
aws deploy register-application-revision --application-name my_app_name --s3-location bucket=my-bucket,key=my_app_name-9155545,bundleType=zip
everything works properly

What else can I check?


#2