Skip to content

Commit

Permalink
Switch to PR 325
Browse files Browse the repository at this point in the history
  • Loading branch information
mbergkvist committed Jan 22, 2024
1 parent 0c78cc2 commit 061eb08
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 13 deletions.
9 changes: 5 additions & 4 deletions bin/stacksetsandassets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ export class MyStackSetStack extends StackSetStack {
super(scope, id, props);

// Uncomment this for the "local path error" with NodejsFunction
// new NodejsFunction(this, 'MyNodejsFunction', {
// entry: './src/lambdas/MyNodejsFunction.ts',
// });
new NodejsFunction(this, 'MyNodejsFunction', {
entry: './src/lambdas/MyNodejsFunction.ts',
});

// Uncomment this for the "S3 key mismatch error" with PythonFunction
// new PythonFunction(this, 'onEventHandlerFunction', {
Expand All @@ -48,7 +48,8 @@ export class MyStack extends cdk.Stack {
);

const stackSetStack = new MyStackSetStack(this, 'MyStackSetStack', {
assetBucket: bucket,
assetBucketPrefix: 'an-asset-bucket-prefix',
assetBuckets: [bucket],
});

new StackSet(this, 'StackSet', {
Expand Down
22 changes: 14 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@types/node": "^20.9.0",
"@types/prettier": "^2.7.3",
"aws-cdk": "^2.106.0",
"cdk-stacksets": "^0.0.149",
"cdk-stacksets": "file:../../src/cdklabs/cdk-stacksets/cdk-stacksets-v0.0.0.tgz",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
Expand Down

0 comments on commit 061eb08

Please sign in to comment.