9

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

falsePockets
  • 3,826
  • 4
  • 18
  • 37
Takato Horikoshi
  • 363
  • 5
  • 15

2 Answers2

13

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
acorbel
  • 1,300
  • 12
  • 14
2

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.

nikhil zadoo
  • 296
  • 1
  • 2