Skip to content

fix(ecs): potential race condition on TaskRole default policy update with CfnService#26070

Merged
mergify[bot] merged 10 commits intoaws:mainfrom
lpizzinidev:gh-24880
Jun 26, 2023
Merged

fix(ecs): potential race condition on TaskRole default policy update with CfnService#26070
mergify[bot] merged 10 commits intoaws:mainfrom
lpizzinidev:gh-24880

Conversation

@lpizzinidev
Copy link
Copy Markdown
Contributor

Prevents potential race conditions on TaskRole default policy update in EC2 and Fargate services by adding a dependency on the TaskRole.
This will update the TaskRole and its children first and the service after.

Closes #24880.


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 Jun 21, 2023

@github-actions github-actions bot added admired-contributor [Pilot] contributed between 13-24 PRs to the CDK bug This issue is a bug. effort/small Small work item – less than a day of effort p1 labels Jun 21, 2023
@aws-cdk-automation aws-cdk-automation requested a review from a team June 21, 2023 14:07
@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Jun 22, 2023
Copy link
Copy Markdown
Contributor

@corymhall corymhall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lpizzinidev Great job! Thanks for following up on this 🙏🏻

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jun 26, 2023

Thank you for contributing! Your pull request will be updated from main 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: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 32887c6
  • 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 2d9078c into aws:main Jun 26, 2023
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jun 26, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

admired-contributor [Pilot] contributed between 13-24 PRs to the CDK bug This issue is a bug. effort/small Small work item – less than a day of effort p1 pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aws-ecs: Race condition in Ec2Service & FargateService between updating the TaskRole default policy and the CfnService

3 participants