File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,10 @@ The minimum and maximum percentage of tasks that should be maintained during a d
9595
9696Example : ` "0/100"`
9797
98+ # ## `region` (optional)
99+
100+ The region we deploy the ECS Service to.
101+
98102# # AWS Roles
99103
100104At a minimum this plugin requires the following AWS permissions to be granted to the agent running this step :
Original file line number Diff line number Diff line change @@ -39,6 +39,11 @@ load_balancer_name=${BUILDKITE_PLUGIN_ECS_DEPLOY_LOAD_BALANCER_NAME:-""}
3939target_container=${BUILDKITE_PLUGIN_ECS_DEPLOY_TARGET_CONTAINER_NAME:- " " }
4040target_port=${BUILDKITE_PLUGIN_ECS_DEPLOY_TARGET_CONTAINER_PORT:- " " }
4141execution_role=${BUILDKITE_PLUGIN_ECS_DEPLOY_EXECUTION_ROLE:- " " }
42+ region=${BUILDKITE_PLUGIN_ECS_DEPLOY_REGION:- " " }
43+
44+ if [[ $region != " " ]]; then
45+ AWS_DEFAULT_REGION=${region}
46+ fi
4247
4348# Resolve any runtime environment variables it has
4449target_group=$( eval " echo $target_group " )
You can’t perform that action at this time.
0 commit comments