@icalialabs/register-aws-ecs-task-definition
v0.0.14
Published
Registers a Task Definition in AWS ECS
Downloads
3
Maintainers
Readme
Register AWS ECS Task Definition
Registers a Task Definition in AWS ECS
Github Action Usage
- name: Register AWS ECS Task Definition
uses: icalia-actions/[email protected]
with:
family: my-task-definition-family
template: templates/ecs/my-task-definition.yml
# You can override the image used on any container - the most common
# use case is to deploy an image built & pushed on a previous step:
container-images: '{"my-container":"my-built-image"}'
# You can optionally override any environment variable in the task
# container definitions, given that the overridden environment variable
# already exists in the container definition:
environment-vars: '{"FOO":"BAR"}'
# You can also override secrets already defined in the "secrets" key
# inside the container definition by using a map consisting of the
# "name" as key, and the "valueFrom" as the value - the secret name
# *must* be present in the definition, otherwise it will be ignored.
secrets: '{"MY_SECRET":"some-secret-name"}'
Library Usage
yarn add --dev @icalialabs/register-aws-ecs-task-definition