Search code examples
gitamazon-web-servicesgitignoreaws-cdk

Shouldn't I git ignore cdk.out folder which is made by AWS CDK?


AWS CDK create cdk.out project root. I don't know if I should add git files.


Solution

  • If you use cdk init app, you see that cdk.out folder is in .gitignore.

    *.js
    !jest.config.js
    *.d.ts
    node_modules
    
    # CDK asset staging directory
    .cdk.staging
    cdk.out