-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
(aws_ecs.FargateTaskDefinition): (support for pidMode) #29619
(aws_ecs.FargateTaskDefinition): (support for pidMode) #29619
Comments
Thanks for reporting this issue, it looks like |
### Issue # (if applicable) Closes #29619. ### Reason for this change Support [`pidMode`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-pidmode) for `FargateTaskDefinition`. ### Description of changes Added support for the `pidMode` property along with the necessary validation, documentation, and test coverage. ### Description of how you validated changes - [x] Unit tests - [x] Integration tests ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Resource handler returned message: "Invalid request provided: Create TaskDefinition: Tasks using the Fargate launch type do not support pidMode 'host'. The supported value for pidMode is 'task'. (Service: AmazonECS; Status Code: 400; Error Code: ClientException; Request ID: a75d06a4-dc4c-4209-b464-d33e0ba66f0a; Proxy: null)" (RequestToken: 20902d22-1d4f-1a6e-2db1-ddf7b63bb7b1, HandlerErrorCode: InvalidRequest) |
Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one. |
Describe the bug
ecs.TaskDefinition supports
pidMode
. ecs.FargateTaskDefinition should as well.Expected Behavior
supports
pidMode
Current Behavior
does not support pidMode
Reproduction Steps
try to use
pidMode
as an argPossible Solution
add support for
pidMode
Additional Information/Context
No response
CDK CLI Version
2.133.0
Framework Version
No response
Node.js Version
18
OS
mac os
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: