You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -209,7 +209,7 @@ The contents of this setting are as follows.
209
209
210
210
> NOTE: See the following explanation for how to use Context
211
211
>
212
-
> -[Manage personal environment by cdk.context.json](doc/HowTo.md#cdkcontextjson-Manage-personal-environment)
212
+
> -[Manage personal environment by cdk.context.json](doc/HowTo.md#Manage-personal-environment-by-cdkcontextjson)
213
213
>
214
214
> -[Accessing context in application](doc/HowTo.md#accessing-context-in-application)
215
215
@@ -352,7 +352,7 @@ This completes the baseline and sample application deployment for a single accou
352
352
From now on, you will use this sample code as a starting point to develop applications tailored to your use case. Indicates information necessary for general development.
Copy file name to clipboardExpand all lines: doc/DeployToControlTower.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -263,7 +263,7 @@ The contents of this setting are as follows.
263
263
264
264
> NOTE: See the following explanation for how to use Context
265
265
>
266
-
> -[Manage personal environment by cdk.context.json](doc/HowTo.md#cdkcontextjson-Manage-personal-environment)
266
+
> -[Manage personal environment by cdk.context.json](doc/HowTo.md#Manage-personal-environment-by-cdkcontextjson)
267
267
>
268
268
> -[Accessing context in application](doc/HowTo.md#accessing-context-in-application)
269
269
@@ -493,7 +493,7 @@ This completes the baseline and sample application deployment for a single accou
493
493
From now on, you will use this sample code as a starting point to develop applications tailored to your use case. Indicates information necessary for general development.
@@ -39,7 +39,7 @@ For macOS, select [Running Visual Studio Code on macOS](https://code.visualstudi
39
39
40
40
If you clone this repository in a subsequent step and open it in VSCode, you will be prompted to install the recommended extension. Now click on _Install_.
This recommended extension is defined in `.vscode/extensions.json`. For more information about this feature, see [Managing Extensions in Visual Studio Code](https://code.visualstudio.com/docs/editor/extension-marketplace#_workspace-recommended-extensions).
45
45
@@ -340,6 +340,14 @@ If your CDK code requires additional packages, install them as follows: Here we
340
340
> ```
341
341
342
342
> NOTE:
343
+
> When you update a CDK source code, your snap shot test (npm run test) will be failed because a generated template is differ from previous one.
344
+
> If your CDK code is correct, you need to update a snapshot using command below.
345
+
>
346
+
> ```sh
347
+
> # Update snapshot
348
+
> npm run test -- -u
349
+
> ```
350
+
>
343
351
> To build all use cases, run the following using workspaces:
344
352
>
345
353
> ```sh
@@ -349,6 +357,7 @@ If your CDK code requires additional packages, install them as follows: Here we
349
357
> npm run format
350
358
> npm run clean --workspaces
351
359
> npm run build --workspaces
360
+
> npm run test --workspaces -- -u # update snaphosts
0 commit comments