AWS CodeDeploy with YAML

YAML parameters for AWS CodeDeploy

NameTypeDescription
action
Required
StringThe ID of the action.
type
Required
StringThe type of the action. Should be set to CODE_DEPLOY.
application_name
Required
StringThe name of the application.
region
Required
StringThe Amazon region.
integration_id
Required
IntegerThe ID of the integration.
region
Required
StringThe name of the Amazon region. The full list of regions is available here.
group_name
Required
StringThe Amazon group name.
config_name
Required
StringThe name of the CodeDeploy configuration.
descriptionStringThe comment about the deployment.
ignore_application_stop_failuresBooleanSee here.
update_outdated_instances_onlyBooleanSee here.
wait_for_finish_deploymentBooleanDefines whether to wait for the finish of the deployment in Amazon Code Deploy.
trigger_timeStringSpecifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILUREor ON_BACK_TO_SUCCESS.
deployment_excludesString[]The paths and/or files that will be left out during the deployment.
deployment_includesString[]The exceptions from the ignore patterns set in deployment_excludes.
local_pathStringThe path in the repository.
disabledBooleanWhen set to true the action is disabled. By default it is set to false.

YAML example for AWS CodeDeploy

actions:
- action: "Upload files to Code Deploy"
type: "CODE_DEPLOY"
local_path: "/"
application_name: "buddy-tests"
group_name: "DemoFleet"
config_name: "CodeDeployDefault.OneAtATime"
description: "Deploy comment."
ignore_application_stop_failures: true
update_outdated_instances_only: true
wait_for_finish_deployment: true
region: "us-east-1"
integration_id: 1
deployment_excludes:
- "/assets/"
- "file.txt"
deployment_includes:
- "/assets/assets-new/"
- "/assets/file.txt"