We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5306cb7 commit 7781c33Copy full SHA for 7781c33
examples/l3-resources/atlas-basic.ts
@@ -63,6 +63,9 @@ export class CdkTestingStack extends cdk.Stack {
63
const clusterName = this.node.tryGetContext('clusterName') ?? 'test-cluster';
64
const region = this.node.tryGetContext('region') ?? "US_EAST_1";
65
const ip = this.node.tryGetContext('ip');
66
+ if (!ip){
67
+ throw "No context value specified for ip. Please specify via the cdk context."
68
+ }
69
70
return {
71
orgId,
0 commit comments