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

aws-events-targets:ecs-task no longer works outside AWS partition #29628

Closed
bmoor-amzn opened this issue Mar 27, 2024 · 2 comments
Closed

aws-events-targets:ecs-task no longer works outside AWS partition #29628

bmoor-amzn opened this issue Mar 27, 2024 · 2 comments
Assignees
Labels
bug This issue is a bug. duplicate This issue is a duplicate.

Comments

@bmoor-amzn
Copy link

Describe the bug

A recent change to the ecs-task event rule target broke using event rule targets on ECS tasks outside of the AWS partition.

Specifically this policy statement which explicitly disables the linter check for hardcoded partitions.

My code was successfully working a few weeks ago and I recently noticed the failures without any changes in my CDK application, just a new dependency upgrade from cdk lib 2.x

Expected Behavior

My CDK should deploy in all partitions successfully.

Current Behavior

My CDK fails to deploy in any partition except AWS with an IAM validation failure on the partition arn.

Reproduction Steps

Create an ScheduledEc2Task or a ScheduledFargateTask following the example in the CDK documentation and attempt to deploy outside the AWS partition.

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.133.0

Framework Version

No response

Node.js Version

18.x

OS

linux

Language

TypeScript, Python, .NET, Java, Go

Language Version

No response

Other information

No response

@bmoor-amzn bmoor-amzn added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Mar 27, 2024
@github-actions github-actions bot added the @aws-cdk/aws-iam Related to AWS Identity and Access Management label Mar 27, 2024
@tim-finnigan tim-finnigan self-assigned this Mar 27, 2024
@tim-finnigan tim-finnigan added investigating This issue is being investigated and/or work is in progress to resolve the issue. and removed needs-triage This issue or PR still needs to be triaged. labels Mar 27, 2024
@tim-finnigan
Copy link

tim-finnigan commented Mar 27, 2024

Thanks for reporting this issue. It appears to be a duplicate of #29610. I raised that to a p0 and will bring it up with the team for review. Please refer to that issue for updates going forward.

@tim-finnigan tim-finnigan added duplicate This issue is a duplicate. and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. @aws-cdk/aws-iam Related to AWS Identity and Access Management labels Mar 27, 2024
@tim-finnigan tim-finnigan closed this as not planned Won't fix, can't repro, duplicate, stale Mar 27, 2024
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. duplicate This issue is a duplicate.
Projects
None yet
Development

No branches or pull requests

2 participants