Skip to content

Commit

Permalink
Change variable name and update README
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusdeMelo committed Jun 27, 2024
1 parent efaa75b commit c25cc98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ Variable | Description | Examples/Values | Default
`DEPLOYMENT_CIRCUIT_BREAKER_RULE` | Enable or disable circuit breaker | `enable=true,rollback=true`
`ECS_CONTAINER_STOP_TIMEOUT` | Set stopTimeout on taskdefinition | min: 0, max: 120, default: 30
`TZ`| Set this variable to the desired task timezone | America/Sao_Paulo
`ALB_NAME_OVERRIDE`| Set this variable to temporary overriding the ALB name | test-alb
### How to enable scheduled tasks
- Create a file tasks/run_tasks.conf with the schedules on your code:
Expand Down
4 changes: 2 additions & 2 deletions provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ fi

provision_json_workload_resource_tags=$(jq --raw-input --raw-output '[ split(",") | .[] | "Key=" + split("=")[0] + ",Value=" + split("=")[1] ] | join(" ")' <<<"$WORKLOAD_RESOURCE_TAGS")
if [ "$provision_process_type" = "web" ]; then
if [ ! -z "$ALB_NAME_SLUG" ]; then
provision_alb_name=$ALB_NAME_SLUG
if [ ! -z "$ALB_NAME_OVERRIDE" ]; then
provision_alb_name=$ALB_NAME_OVERRIDE
else
provision_alb_name=$provision_repository_slug-$provision_branch_name
fi
Expand Down

0 comments on commit c25cc98

Please sign in to comment.