aws-samples/aws-cdk-intro-workshop

300-structure.html contain incorrect path

Closed this issue · 2 comments

Describe the bug

https://cdkworkshop.com/20-typescript/20-create-project/300-structure.html
contains:

lib/cdk-workshop-stack.ts
bin/cdk-workshop.ts

Expected Behavior

image

Current Behavior

documentation is outdated

Reproduction Steps

  1. cdk init sample-app --language typescript
  2. check bin and lib folders

Possible Solution

renaming

Additional Information/Context

No response

CDK CLI Version

2.130.0 (build bd6e5ee)

Section

No response

Browser

No response

Language

TypeScript

@devops01ua Good afternoon. Thanks for opening the issue.

The page https://cdkworkshop.com/20-typescript/20-create-project/100-cdk-init.html has following instructions:

  • Create project directory with command:
    mkdir cdk-workshop && cd cdk-workshop
    
  • cdk init
    cdk init sample-app --language typescript
    

cdk init command creates stack and app based on name of the containing directory, which is cdk-workshop in this case. The screenshot on the page https://cdkworkshop.com/20-typescript/20-create-project/300-structure.html correctly reflects the directory structure. Just to mention, I used CDK CLI version 2.136.0 (build 94fd33b).

structure

Thanks,
Ashish

This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.