# "Missing AWS CodeDeploy settings for app"

**URL:** <https://discuss.circleci.com/t/missing-aws-codedeploy-settings-for-app/716>\
**Category:** Deployments\
**Tags:** aws\
**Created:** [November 23, 2015, 9:32pm UTC](https://discuss.circleci.com/t/missing-aws-codedeploy-settings-for-app/716 "2015-11-23T21:32:43Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnz133](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@johnz133](https://discuss.circleci.com/u/johnz133)\
**Post date:** [November 23, 2015, 9:32pm UTC](https://discuss.circleci.com/t/missing-aws-codedeploy-settings-for-app/716/1 "2015-11-23T21:32:43Z")

</div>

Hey guys. Happy early thanksgiving!

So I’ve been trying to configure CodeDeploy for our builds by following [the guide](https://circleci.com/docs/continuous-deployment-with-aws-codedeploy/), and I keep getting this error “Missing AWS CodeDeploy settings for app” on the “Create new revision” step of the deployment build section. And that’s the only error message I see. The web console shows the error came from this command:  
`create_application_revision /tmp/codedeploy_applications.json /tmp/codedeploy_revisions.json`  
Can anyone direct me to a solution, or just explain a little bit about what this error means? Everything else passed. Thanks you!

---

<div class="post-metadata">

**Author:** ![alexey](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/alexey/32/42_2.png) [@alexey](https://discuss.circleci.com/u/alexey)\
**Post date:** [November 24, 2015, 10:19am UTC](https://discuss.circleci.com/t/missing-aws-codedeploy-settings-for-app/716/2 "2015-11-24T10:19:27Z")

</div>

Could you please post the `deployment` section of your _circle.yml_ file where CodeDeploy is configured? It might be missing some parameters—we’ll take a look.

---

<div class="post-metadata">

**Author:** ![johnz133](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@johnz133](https://discuss.circleci.com/u/johnz133)\
**Post date:** [November 24, 2015, 5:48pm UTC](https://discuss.circleci.com/t/missing-aws-codedeploy-settings-for-app/716/3 "2015-11-24T17:48:11Z")

</div>

Hey @alexey, thanks for replying! Not a problem, here it is.

```
deployment:
  staging:
branch: temp
  codedeploy:
    DemoApplication:
      deployment_group: DemoFleet 

```

I went through the code deploy tutorial, hence the name DemoApplication and DemoFleet. It’s up and running and everything. I also set up the code deploy application-wide settings for the circle project in project settings: region, application root, bucket name, and key pattern.

---

<div class="post-metadata">

**Author:** ![alexey](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/alexey/32/42_2.png) [@alexey](https://discuss.circleci.com/u/alexey)\
**Post date:** [November 25, 2015, 1:48pm UTC](https://discuss.circleci.com/t/missing-aws-codedeploy-settings-for-app/716/4 "2015-11-25T13:48:17Z")

</div>

Could you please try providing all the settings within your _circle.yml_ as suggested [here](https://circleci.com/docs/continuous-deployment-with-aws-codedeploy/#step-4-configure-deployment-parameters)? Just want to check if this could be a bug in availability of the app-wide settings. The complete `deployment` entry could look like this with all the details:

```auto
deployment:
  staging:
    branch: development
    codedeploy:
      my-app:
        application_root: /
        revision_location:
          revision_type: S3
          s3_location:
            bucket: staging-bucket
            key_pattern: apps/my-app-{SHORT_COMMIT}-{BUILD_NUM}
        region: us-east-1
        deployment_group: staging-instances
        deployment_config: CodeDeployDefault.AllAtOnce

```

Sorry for all the trouble here.

---

<div class="post-metadata">

**Author:** ![johnz133](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@johnz133](https://discuss.circleci.com/u/johnz133)\
**Post date:** [December 9, 2015, 1:21am UTC](https://discuss.circleci.com/t/missing-aws-codedeploy-settings-for-app/716/5 "2015-12-09T01:21:16Z")

</div>

Hey @alexey, I moved the applciation wide setting into the circle.yml file and the error disappeared!

---

<div class="post-metadata">

**Author:** ![alexey](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/alexey/32/42_2.png) [@alexey](https://discuss.circleci.com/u/alexey)\
**Post date:** [December 9, 2015, 1:25pm UTC](https://discuss.circleci.com/t/missing-aws-codedeploy-settings-for-app/716/6 "2015-12-09T13:25:07Z")

</div>

Excellent! Thanks for getting back to me here.

---

<div class="post-metadata">

**Author:** ![rahulvramesh](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/rahulvramesh/32/1151_2.png) [@rahulvramesh](https://discuss.circleci.com/u/rahulvramesh)\
**Post date:** [January 20, 2016, 8:50am UTC](https://discuss.circleci.com/t/missing-aws-codedeploy-settings-for-app/716/7 "2016-01-20T08:50:14Z")

</div>

create\_application\_revision /tmp/codedeploy\_applications.json /tmp/codedeploy\_revisions.json

am getting the same error , and i have tried almost every method , please help

---

<div class="post-metadata">

**Author:** ![johnz133](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@johnz133](https://discuss.circleci.com/u/johnz133)\
**Post date:** [January 21, 2016, 5:47am UTC](https://discuss.circleci.com/t/missing-aws-codedeploy-settings-for-app/716/8 "2016-01-21T05:47:10Z")

</div>

Hey @rahulvramesh. Have you tried moving the application settings into circle.yml, as opposed to entering it through CirclCI’s web UI? That’s what did the trick for me.

---

<div class="post-metadata">

**Author:** ![andrewmiro](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/andrewmiro/32/563_2.png) [@andrewmiro](https://discuss.circleci.com/u/andrewmiro)\
**Post date:** [June 28, 2016, 4:06pm UTC](https://discuss.circleci.com/t/missing-aws-codedeploy-settings-for-app/716/9 "2016-06-28T16:06:59Z")

</div>

I too had this problem and changed the circle.yml to specify ALL of the AWS CodeDeploy settings and that worked. I have now:

```
deployment:
staging:
branch: staging
codedeploy:
  myappname:
    application_root: /
    revision_location:
      revision_type: S3
      s3_location:
        bucket: mys3bucketname
        key_pattern: apps/myappname-{SHORT_COMMIT}-{BUILD_NUM}
    region: eu-west-1
    deployment_group: myappname
    deployment_config: CodeDeployDefault.AllAtOnce
```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:40am UTC](https://discuss.circleci.com/t/missing-aws-codedeploy-settings-for-app/716/10 "2018-06-18T11:40:54Z")

</div>

Closed on June 18, 2018, 11:40am UTC


