Configure base AWS account IAM policies automatically using terraform.
Follow the instructions in BOOTSTRAP.md
to
initalise your account or add new subaccounts.
This repository adds a policy to only allow access from a list whitelisted IPs.
These IPs are configured in pass keytwine/aws/allowed_ips.json
and it
will also pick the current IP when running terraform apply.
If the IP is not alllowed, you can load the user AWS admi ncredentials
and run ./scripts/whitelist_current_ip.sh
. For example, using the
awssts
tool:
awssts user:hector.rivas+admin@keytwine \
./scripts/whitelist_current_ip.sh