I hereby claim:
- I am mvanholsteijn on github.
- I am mvanholsteijn (https://keybase.io/mvanholsteijn) on keybase.
- I have a public key ASC8m3WQn3rAaN6rL70h8G5tzhZXjiRrNBqS3heiR9KVego
To claim this, I am signing this object:
import boto3 | |
import json | |
contact = { | |
"FirstName": "Mark", | |
"LastName": "van Holsteijn", | |
"ContactType": "COMPANY", | |
"AddressLine1": "Laapersveld 27", | |
"City": "Hilversum", | |
"CountryCode": "NL", |
#!/bin/bash | |
aws ds describe-directories --query 'DirectoryDescriptions[*].{ | |
"schemaVersion": `"1.0"`, | |
"description": join(``, [`Automatic AD domain-join configuration for `, Name, `.`]), | |
"runtimeConfig": { | |
"aws:domainJoin": { | |
"properties": { | |
"directoryId": DirectoryId, | |
"directoryName": Name, | |
"dnsIpAddresses": OwnerDirectoryDescription.DnsIpAddrs |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: AWS Backup daily CloudFormation configuration | |
Resources: | |
BackupPlan: | |
Type: AWS::Backup::BackupPlan | |
Properties: | |
BackupPlan: | |
BackupPlanName: default | |
BackupPlanRule: | |
- RuleName: daily-backups |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
gcloud compute instances delete-access-config $INSTANCE --access-config-name external-nat |
#!/bin/bash | |
aws route53 list-resource-record-sets \ | |
--hosted-zone ${SOURCE_HOSTED_ZONE_ID} \ | |
--query '{Changes: ResourceRecordSets[?Type != `NS` && Type != `SOA`].{"Action": `UPSERT`, "ResourceRecordSet": @ }}' > changeset.json | |
aws route53 change-resource-record-sets \ | |
--hosted-zone ${TARGET_HOSTED_ZONE_ID} \ | |
--change-batch "$(<changeset.json)" | |
#!/usr/bin/env python | |
# | |
# copy all SSM parameter store parameters to disk | |
# | |
import os, sys, argparse, boto3 | |
parser = argparse.ArgumentParser(description='copy all parameter values to local') | |
parser.add_argument("--path", dest="path", required=True, | |
help="to copy the keys from", metavar="STRING") | |
parser.add_argument("--directory", dest="directory", required=True, |
#!/usr/bin/env python | |
# | |
# reports errors on the last stack operations | |
# | |
import sys | |
import boto3 | |
def report_errors(stackname): | |
cfn = boto3.client('cloudformation') |
AUTH0_DOMAIN=mvanholsteijn.eu.auth0.com | |
curl -sS https://$AUTH0_DOMAIN/pem | \ | |
openssl x509 -pubkey -noout | \ | |
tr -d '\r' | \ | |
tr '\n' '|' | \ | |
sed -e 's/|/\\n/g' | \ | |
sed -e 's/^/"/' -e 's/$/"/' |
AUTH0_DOMAIN=mvanholsteijn.eu.auth0.com | |
curl -sS https://$AUTH0_DOMAIN/pem | \ | |
openssl x509 -pubkey -noout |