In order to authenticate to a private GCS bucket, we need to connect the Cloud CDN load balancer through a Backend Service, instead of a Backend Bucket. See Configure private origin authentication for more details.
As of April 2024, the
| #!/usr/bin/env bash | |
| get_task_definition_arns() { | |
| aws ecs list-task-definitions --region ${AWS_REGION} \ | |
| | jq -M -r '.taskDefinitionArns | .[]' | |
| } | |
| delete_task_definition() { | |
| local arn=$1 |
In order to authenticate to a private GCS bucket, we need to connect the Cloud CDN load balancer through a Backend Service, instead of a Backend Bucket. See Configure private origin authentication for more details.
As of April 2024, the
This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.
| Description | Syntax |
|---|---|
| Get the length of a string | ${#VARNAME} |
| Get a single character | ${VARNAME[index]} |