#!/bin/sh
set -eu
: "${AWS_REGION:?set an approved GovCloud Region}"
case "$AWS_REGION" in us-gov-east-1|us-gov-west-1) ;; *) exit 2 ;; esac
aws sts get-caller-identity --region "$AWS_REGION"
aws ec2 describe-vpc-endpoints --region "$AWS_REGION"
aws ec2 describe-route-tables --region "$AWS_REGION"
# Review OS module validation and application TLS independently of Region identity.
