- πΒ I'm based in Germany
- π₯οΈΒ See my portfolio at tpschmidt.com
- βοΈΒ You can contact me at contact@tpschmidt.com
- πΒ I'm currently working on Weddingtastic
π―
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
| #!/bin/bash | |
| set -eu | |
| # ββ SSM agent ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # We need the SSM agent for accessing Lightsail instances | |
| if ! snap services amazon-ssm-agent | grep -q 'active'; then | |
| snap stop amazon-ssm-agent || true | |
| fi | |
| /snap/amazon-ssm-agent/current/amazon-ssm-agent -register -y \ | |
| -id "${ssm_activation_id}" \ |
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
| #!/bin/bash | |
| retention_days=$1 | |
| if [ -z "$retention_days" ]; then | |
| echo "Usage: $0 <retention_days>" | |
| exit 1 | |
| fi | |
| regions=$(aws ec2 describe-regions \ |
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
| import AWS, { StepFunctions } from 'aws-sdk' | |
| import { v4 } from 'uuid' | |
| import { StartExecutionInput, StartExecutionOutput } from 'aws-sdk/clients/stepfunctions' | |
| interface StateMachineSubmission { | |
| customerId: string | |
| traceId: string | |
| } | |
| export class StateMachineService { |
I hereby claim:
- I am tpschmidt on github.
- I am tpschmidt (https://keybase.io/tpschmidt) on keybase.
- I have a public key ASAgvPAm-OIZkHW9Ydkwa3IOb8uPqqg8TmN-OYF5Dbb-ZAo
To claim this, I am signing this object: