Skip to content

Instantly share code, notes, and snippets.

View jorgetovar's full-sized avatar

Jorge Tovar jorgetovar

View GitHub Profile
for bucket_name in `aws s3 ls | awk '{print $3}'`; do
echo "$bucket_name"
aws s3 ls s3://$bucket_name --recursive --summarize | tail -n2
done
@jorgetovar
jorgetovar / BasicBudget.yaml
Created December 30, 2022 18:20
CloudFormation template to setting up alert billing in AWS
---
AWSTemplateFormatVersion: "2010-09-09"
Description: "Simple budget example"
Parameters:
Email:
Type: String
Default: email@example.com
Description: Please enter the email address to which budget notifications should be addressed.
Resources:
BasicBudget: