Overall Project Structure
The relevant files and folder structure of the project after installation should look as follows:
- .config.blueGreenToggleStack.yaml
- .config.dataStack.yaml
- .config.documentationStack.yaml
- .config.hostingStack.yaml
- .config.webStack.yaml
- main.ts
Directorystacks
DirectoryblueGreenToggle
- blueGreenToggleStack.ts
- …
Directorydata
- dataStack.ts
- …
Directorydocumentation
- documentationStack.ts
- …
Directoryhosting
- hostingStack.ts
- …
Directoryweb
- webStack.ts
Directorytests
- clientApp.mock.ts
- clientApp.test.ts
DirectoryexampleClientApp
- …
main.ts is where CDKTF refers to the stack definitions which are logically seperated into their stacks subfolders and yaml config files. There is also an end-to-end testing suite found in the tests folder.