#!/bin/sh
set -eu
umask 077
: "${AWS_REGION:?use the approved GovCloud Region}"
case "$AWS_REGION" in us-gov-west-1|us-gov-east-1) ;; *) exit 2 ;; esac
aws sts get-caller-identity --region "$AWS_REGION" > identity.json
aws ec2 describe-vpc-endpoints --region "$AWS_REGION" > endpoints.json
aws ec2 describe-route-tables --region "$AWS_REGION" > routes.json
# Reconcile software updates, DNS and notification destinations separately.
