Should'nt I git ignore cdk.out folder which is made by AWS CDK?

Viewed 1876

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

2 Answers

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

There is no need to add cdk.out to git. It just holds artifacts like synthesized cloudformation templates which do not need to be in version control.

Related