Conversation
…framework) In order to make it easier to get started and implement custom resources that do not require changes to physical resource IDs, the provider framework now allows `onEvent` to omit the `PhysicalResourceId` return value. For `CREATE` operations, it will default to the `RequestId`. For `UPDATE` and `DELETE` it will return the current `PhysicalResourceId`. Misc: in aws-custom-resource, use `fs.readFileSync(__dirname)` instead of `require` to load `sdk-api-metadata.json`, so that the typescript compiler won't yell that this file is not defined in tsconfig.json.
|
Thanks so much for taking the time to contribute to the AWS CDK ❤️ We will shortly assign someone to review this pull request and help get it
|
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
packages/@aws-cdk/custom-resources/lib/aws-custom-resource/aws-custom-resource.ts
Show resolved
Hide resolved
packages/@aws-cdk/custom-resources/lib/provider-framework/runtime/framework.ts
Show resolved
Hide resolved
.../custom-resources/test/provider-framework/integration-test-fixtures/s3-file-handler/index.ts
Show resolved
Hide resolved
.../custom-resources/test/provider-framework/integration-test-fixtures/s3-file-handler/index.ts
Show resolved
Hide resolved
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Without it the bin is not hoisted to `node_modules/.bin` and cannot be called from individual package directories.
Fix the Mergify operator for author condition. The current value for `author` is meant to be a regexp so the `~=` operator must be used to match it, not just `=`.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
In order to make it easier to get started and implement custom resources that do not require changes to physical resource IDs, the provider framework now allows
onEventto omit thePhysicalResourceIdreturn value.For
CREATEoperations, it will default to theRequestId. ForUPDATEandDELETEit will return the currentPhysicalResourceId.Misc: in aws-custom-resource, use
fs.readFileSync(__dirname)instead ofrequireto loadsdk-api-metadata.json, so that the typescript compiler won't yell that this file is not defined in tsconfig.json.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license