AWS CodeDeploy with YAML
Learn more about:
YAML parameters for AWS CodeDeploy
Name | Type | Description |
---|---|---|
action Required | String | The ID of the action. |
type Required | String | The type of the action. Should be set to CODE_DEPLOY . |
application_name Required | String | The name of the application. |
integration_hash Required | String | The ID of the integration. |
region Required | String | The name of the Amazon region. The full list of regions is available here. |
group_name Required | String | The Amazon group name. |
config_name Required | String | The name of the CodeDeploy configuration. |
description | String | The comment about the deployment. |
ignore_application_stop_failures | Boolean | See here. |
update_outdated_instances_only | Boolean | See here. |
wait_for_finish_deployment | Boolean | Defines whether to wait for the finish of the deployment in Amazon Code Deploy. |
deployment_excludes | String[] | The paths and/or files that will be left out during the deployment. |
deployment_includes | String[] | The exceptions from the ignore patterns set in deployment_excludes . |
local_path | String | The path in the repository. |
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_hash: "5ddb7c180fb38be67bd78a88a"
deployment_excludes:
- "/assets/"
- "file.txt"
deployment_includes:
- "/assets/assets-new/"
- "/assets/file.txt"
Last modified on April 26, 2022