This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo "Which log groups would you like to remove?" | |
read LOG_GROUP | |
echo | |
LOG_GROUPS=$(aws logs describe-log-groups --query "logGroups[*].logGroupName" --output text) | |
LOG_GROUPS=($LOG_GROUPS) | |
for i in "${LOG_GROUPS[@]}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
const { USER_POOL_ID } = process.env; | |
if (!USER_POOL_ID) throw new Error("Missing USER_POOL_ID"); | |
const AWS = require("aws-sdk"); | |
const cognito = new AWS.CognitoIdentityServiceProvider(); | |
const attribute => ({ Attributes }, name) => | |
Attributes.filter(a => a.Name === name)[0].Value; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias cfversion="curl -s https://d1uauaxba7bl26.cloudfront.net/latest/CloudFormationResourceSpecification.json | jq '.ResourceSpecificationVersion' -r" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.cpcache/ | |
.shadow-cljs/ | |
dev/ | |
node_modules/ | |
test/ |
OlderNewer