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
{{ message }}
Repository navigation
(aws_ecs): TaskDefinition rejects runtimePlatform property for non-Fargate tasks #39330
When passing runtimePlatform property to new ecs.TaskDefinition(..., that is only EC2-compatible, synthesis fails with an error
«CannotSpecifyRuntimePlatform» Cannot specify runtimePlatform in non-Fargate and non-Managed Instances compatible tasks
...new TaskDefinition2 in aws-cdk-lib...
Regression Issue
Select this option if this issue appears to be a regression.
Last Known Working CDK Library Version
No response
Expected Behavior
Synthesis succeeds, and deployed task definition contains the runtimePlatform property.
RuntimePlatform property should be supported for all tasks as per CloudFormation documentation, and set the property in the task definition which claims to be compatible with EC2 instances only.
Current Behavior
«CannotSpecifyRuntimePlatform» Cannot specify runtimePlatform in non-Fargate and non-Managed Instances compatible tasks
...new TaskDefinition2 in aws-cdk-lib...
Activity