Skip to content

Add RestartPolicy to container definition #191

Closed
@JaydenMaalouf

Description

@JaydenMaalouf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions