Skip to content

Instantly share code, notes, and snippets.

🐧
Page faults left and right

David Jimenez dvejmz

🐧
Page faults left and right
View GitHub Profile
@dvejmz
dvejmz / verify-ses-email.sh
Last active Apr 2, 2020
Auto-verify SES email address upon launching localstack
View verify-ses-email.sh
#!/bin/bash
set -eo pipefail
## Mount this file in /docker-entrypoint-initaws.d so that localstack runs it
## as part of its entrypoint routine.
echo 'Running AWS verify identity command. See: https://github.com/localstack/localstack/issues/339'
aws ses verify-email-identity --email-address ${EMAIL_ADDRESS} --region ${AWS_REGION} --endpoint-url=http://localhost:4579
echo "Verified ${EMAIL_ADDRESS}"
@dvejmz
dvejmz / asm.sh
Last active Jun 11, 2020
AWS Secrets Manager CLI wrapper
View asm.sh
#!/usr/bin/env bash
AWS_REGION=<region>
AWS_PROFILE=<profile>
export AWS_REGION
export AWS_PROFILE
SECRET_PATH="$1"
SECRET_KEY=$2
You can’t perform that action at this time.