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 provider: Expose container timeouts on ecs task definitions #3009

Closed
1 task
jsonmorris opened this issue Jul 13, 2023 · 3 comments
Closed
1 task

AWS provider: Expose container timeouts on ecs task definitions #3009

jsonmorris opened this issue Jul 13, 2023 · 3 comments
Labels
enhancement New feature or request waiting-on-answer

Comments

@jsonmorris
Copy link

Description

I would like to specify a stopTimeout on the container definition of an ecsTaskDefinition. There are currently no types exposed for that in cdktf, so I get this error.

... Argument of type '{ provider: AwsProvider; family: string; containerDefinitions: string; requiresCompatibilities: string[]; taskRoleArn: string; executionRoleArn: string; cpu: string; memory: string; networkMode: string; stopTimeout: number; }' is not assignable to parameter of type 'EcsTaskDefinitionConfig'.

  Object literal may only specify known properties, and 'stopTimeout' does not exist in type 'EcsTaskDefinitionConfig'.

References

No response

Help Wanted

  • I'm interested in contributing a fix myself

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@jsonmorris jsonmorris added enhancement New feature or request new Un-triaged issue labels Jul 13, 2023
@ansgarm
Copy link
Member

ansgarm commented Jul 14, 2023

Hi @jsonmorris 👋

You should be able to use an override / escape hatch for this.

@ansgarm ansgarm added waiting-on-answer and removed new Un-triaged issue labels Jul 14, 2023
@jsonmorris
Copy link
Author

Awesome, thank you!

@github-actions
Copy link
Contributor

I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 2023
@xiehan xiehan changed the title COMPONENT: Expose container timeouts on ecs task definitions AWS provider: Expose container timeouts on ecs task definitions Nov 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request waiting-on-answer
Projects
None yet
Development

No branches or pull requests

2 participants