You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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.
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
The text was updated successfully, but these errors were encountered: