Skip to content

Instantly share code, notes, and snippets.

View weyderfs's full-sized avatar
👨‍💻
Keeping Cloud Infrastructure Up!

Weyder Ferreira weyderfs

👨‍💻
Keeping Cloud Infrastructure Up!
  • Brazil
  • 11:23 (UTC -03:00)
View GitHub Profile
@weyderfs
weyderfs / awscli_jq_tricks.sh
Last active June 17, 2024 19:26
AWS CLI JQ Tricks - Outputs likes to export for CSV file
#List ECS Clusters by Name
aws ecs list-clusters --region <region> | jq -r '.clusterArns[]' | cut -d/ -f2
#List ECS List ServiceNames by Cluster
aws ecs list-services --cluster <cluster-name> --region sa-east-1 | jq -r '.serviceArns[]' | cut -d/ -f3
#List EventBridge Event Buses
aws events list-event-buses --region <region> | jq -r '.EventBuses[].Name'
#List EventBridge Rules
@weyderfs
weyderfs / elastic-ilm-policy-delete-after-8d.json
Created October 4, 2022 12:36
Elastic ILM Template Policy to delete Index
{
"policy": {
"description": "Delete index after 8D.",
"default_state": "hot",
"states": [
{
"name": "hot",
"actions": [{
"replica_count": {
"number_of_replicas": 3

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default