Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(codepipeline): Action.onStateChange() has wrong detail type #5721

Merged
merged 2 commits into from
Jan 9, 2020

Conversation

skinny85
Copy link
Contributor

@skinny85 skinny85 commented Jan 8, 2020

The method onStateChange() in Action, the common superclass for all CDK-vended actions,
incorrectly set the detailType of the CloudWatch event rule it created to
'CodePipeline Stage Execution State Change',
when it should be 'CodePipeline Action Execution State Change'.

Fixes #3614


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

@skinny85 skinny85 requested a review from rix0rrr January 8, 2020 21:34
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jan 8, 2020
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

The method onStateChange() in Action,
the common superclass for all CDK-vended actions,
incorrectly set the `detailType` of the CloudWatch event rule it created to
'CodePipeline Stage Execution State Change',
when it should be 'CodePipeline Action Execution State Change'.

Fixes aws#3614
@skinny85 skinny85 force-pushed the fix/codepipeline-action-event-detail branch from 22de71e to 0107897 Compare January 8, 2020 23:21
@skinny85
Copy link
Contributor Author

skinny85 commented Jan 8, 2020

Changed to reference the correct issue in the commit message.

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@mergify
Copy link
Contributor

mergify bot commented Jan 9, 2020

Thank you for contributing! Your pull request is now being automatically merged.

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@mergify
Copy link
Contributor

mergify bot commented Jan 9, 2020

Thank you for contributing! Your pull request is now being automatically merged.

@mergify mergify bot merged commit 8686dd5 into aws:master Jan 9, 2020
@skinny85 skinny85 deleted the fix/codepipeline-action-event-detail branch January 9, 2020 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CodePipeline onStateChange for Actions generates wrong detail-type
3 participants