AWS CDK create cdk.out
project root. I don't know if I should add git files.
Asked
Active
Viewed 3,668 times
9

falsePockets
- 3,826
- 4
- 18
- 37

Takato Horikoshi
- 363
- 5
- 15
2 Answers
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
-
But doesn't it also hold state? – The Onin Jun 12 '22 at 23:11
-
1@TheOnin you can safely delete the cdk.out content: https://github.com/aws/aws-cdk/issues/2869#issuecomment-607971957 – Cesar Flores May 30 '23 at 17:41