Skip to content

Instantly share code, notes, and snippets.

View bschulz87's full-sized avatar
๐Ÿ‰

Benjamin Schulz bschulz87

๐Ÿ‰
  • Germany, Berlin
View GitHub Profile
@bschulz87
bschulz87 / testing-graphql.sh
Created February 4, 2025 14:21 — forked from dabit3/testing-graphql.sh
GraphQL requests using CURL
# query
curl \
-X POST \
-H "x-api-key: xxx-xxxx" \
-H "Content-Type: application/json" \
-d '{ "query": "query { listUsers { name } }" }' \
https://app-id.appsync-api.us-east-1.amazonaws.com/graphql
# mutation with variables
curl \
@bschulz87
bschulz87 / Time-based-auto-scaling-on-fargate.md
Created April 10, 2020 08:44 — forked from toricls/Time-based-auto-scaling-on-fargate.md
Example: Time-based Auto Scaling on Amazon ECS + AWS Fargate

Set parameters

$ export ECS_CLUSTER_NAME={YOUR_ECS_CLUSTER_NAME}
$ export ECS_SERVICE_NAME={YOUR_ECS_SERVICE_NAME}

RegisterScalableTarget