Skip to content

fix(custom-resources): physical resource id must be determined before isComplete#18630

Merged
mergify[bot] merged 3 commits intoaws:masterfrom
pflorek:fix/set-actual-physical-resource-id-on-is-complete
Feb 26, 2022
Merged

fix(custom-resources): physical resource id must be determined before isComplete#18630
mergify[bot] merged 3 commits intoaws:masterfrom
pflorek:fix/set-actual-physical-resource-id-on-is-complete

Conversation

@pflorek
Copy link
Copy Markdown
Contributor

@pflorek pflorek commented Jan 24, 2022

For some resource on event can only generate an intermediary physical resource id. On isComplete the actual physical resource id can be retrieved from the created resource. Therefor it's useful to override the temporary one.

Fixes #18670


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Jan 24, 2022

@github-actions github-actions bot added the @aws-cdk/custom-resources Related to AWS CDK Custom Resources label Jan 24, 2022
Set the actual physical resource id of an asynchronous operation, when the waiter is finished with isComplete: true
@rix0rrr rix0rrr changed the title fix(custom-resources): set actual physical resource id on isComplete fix(custom-resources): allow returning physical resource id from isComplete Feb 26, 2022
@rix0rrr rix0rrr changed the title fix(custom-resources): allow returning physical resource id from isComplete fix(custom-resources): physical resource id must be determined before isComplete Feb 26, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 26, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 831f97f
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit c190367 into aws:master Feb 26, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 26, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@pflorek
Copy link
Copy Markdown
Contributor Author

pflorek commented Mar 2, 2022

@rix0rrr Thank you!!! 😍

@pflorek pflorek deleted the fix/set-actual-physical-resource-id-on-is-complete branch March 2, 2022 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@aws-cdk/custom-resources Related to AWS CDK Custom Resources

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(custom-resources/provider-framework): can not set the correct physical resource id for an asynchronous provider

3 participants