Skip to content

Commit

Permalink
fix: change association to custom resource
Browse files Browse the repository at this point in the history
  • Loading branch information
Court Schuett committed Sep 16, 2023
1 parent d3b635e commit be9f429
Show file tree
Hide file tree
Showing 29 changed files with 2,094 additions and 431,404 deletions.
6 changes: 5 additions & 1 deletion .eslintrc.json

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

1 change: 1 addition & 0 deletions .gitignore

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

1 change: 1 addition & 0 deletions .npmignore

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

76 changes: 75 additions & 1 deletion .projen/tasks.json

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

46 changes: 12 additions & 34 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const project = new awscdk.AwsCdkConstructLibrary({
majorVersion: 3,
eslintOptions: {
dirs: ['src', 'test', 'projenrc', '.projenrc.ts'],
ignorePatterns: ['example/**'],
},
lambdaAutoDiscover: false,
deps: [
Expand Down Expand Up @@ -58,40 +57,19 @@ const project = new awscdk.AwsCdkConstructLibrary({
repositoryUrl: 'https://github.com/cdklabs/cdk-amazon-chime-resources.git',
});

// const externals: string[] = [
// // Previously wrong configuration means this has never been used
// // '@aws-sdk/client-ssm',
// // '@aws-sdk/client-chime-sdk-messaging@latest',
// // 'aws-lambda',
// // '@types/aws-lambda',
// ];

// new awscdk.LambdaFunction(project, {
// cdkDeps: project.cdkDeps,
// bundlingOptions: {
// externals,
// },
// entrypoint: 'src/resources/pstn/pstn.lambda.ts',
// runtime: awscdk.LambdaRuntime.NODEJS_18_X,
// });

// new awscdk.LambdaFunction(project, {
// cdkDeps: project.cdkDeps,
// entrypoint: 'src/resources/messaging/messaging.lambda.ts',
// runtime: awscdk.LambdaRuntime.NODEJS_18_X,
// bundlingOptions: {
// externals,
// },
// });
project.bundler.addBundle('./src/resources/pstn/', {
platform: 'node',
target: 'node18',
});

// new awscdk.LambdaFunction(project, {
// cdkDeps: project.cdkDeps,
// entrypoint: 'src/resources/media-pipelines/media-pipelines.lambda.ts',
// runtime: awscdk.LambdaRuntime.NODEJS_18_X,
// bundlingOptions: {
// externals,
// },
// });
project.bundler.addBundle('./src/resources/messaging/', {
platform: 'node',
target: 'node18',
});
project.bundler.addBundle('./src/resources/media-pipelines/', {
platform: 'node',
target: 'node18',
});

const common_exclude = [
'cdk.out',
Expand Down
156 changes: 0 additions & 156 deletions API.md

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

Loading

0 comments on commit be9f429

Please sign in to comment.