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

Add RestartPolicy to container definition #191

Open
JaydenMaalouf opened this issue Sep 9, 2024 · 0 comments · May be fixed by #192
Open

Add RestartPolicy to container definition #191

JaydenMaalouf opened this issue Sep 9, 2024 · 0 comments · May be fixed by #192

Comments

@JaydenMaalouf
Copy link

Describe the Feature

AWS introudced container restart policies to ECS containers
This allows a container to restart on specific exit codes without needing to provision a new task
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-restart-policy.html?icmpid=docs_ecs_hp-task-definition

Expected Behavior

Restart policy will be created

Use Case

If a container abruptly exits with a specific exit code, it can be restarted without needing to wait for a new task to be provisioned in its place

Describe Ideal Solution

A new object on the variables map

Alternatives Considered

No response

Additional Context

No response

@JaydenMaalouf JaydenMaalouf linked a pull request Sep 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant