Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am justinhold on github.
  • I am justinhold (https://keybase.io/justinhold) on keybase.
  • I have a public key ASD6whpVFuIKVdFaWPa8_lpNm_Ym1CITCG96lX4dkZIwAQo

To claim this, I am signing this object:

@justinhold
justinhold / peer_routes.py
Created June 6, 2018 14:29 — forked from bwhaley/peer_routes.py
A script to configure routes in in a VPC peering connection
# Quick script to configure routes for a VPC peering connection
# Searches a region for all peering connection and prompts to choose one
# Configures routes between the peered networks for all routing tables
# STS/AssumeRole not implemented cross-account peering. Instead,
# Choose accepter/requestor depending on which credentials are set in the environment
# Enter either IPv4 and IPv6 route destinations
# Example usage:
# ( Assuming boto credentials are configured)
# $ pip install boto3
# $ python3.6 peer_routes.py