Amazon Elastic Container Service with YAML

YAML parameters for Amazon ECS

NameTypeDescription
action
Required
StringThe name of the action.
integration_id
Required
IntegerThe ID of the integration.
type
Required
StringThe type of the action. Should be set to AWS_ECS.
region
Required
StringThe Amazon region.
local_path
Required
StringThe path to the JSON file with task definition.
cluster
Required
StringThe paths and/or files that will be left out during the deployment.
service
Required
StringThe ID of the ECS service.
trigger_conditionStringDefines when the build action should be run. Can be one of ALWAYS, ON_CHANGE, ON_CHANGE_AT_PATH, VAR_IS, VAR_IS_NOT or VAR_CONTAINS.
trigger_condition_pathsString[]Required when trigger_condition is set to ON_CHANGE_AT_PATH.
trigger_variable_keyStringRequired when trigger_condition is set to VAR_IS, VAR_IS_NOT or VAR_CONTAINS. Defines the name of the desired variable.
trigger_variable_valueStringRequired when trigger_condition is set to VAR_IS, VAR_IS_NOT or VAR_CONTAINS. Defines the value of the desired variable which will be compared with its current value.
disabledBooleanWhen set to true the action is disabled. By default it is set to false.

YAML example for Amazon ECS

actions:
- action: "ECS by API"
type: "AWS_ECS"
integration_id: 20
service: "sample-app-service"
cluster: "buddy-testing-cluster"
local_path: "taskDefinition.json"
region: "us-east-1"