Last active
August 29, 2015 14:18
-
-
Save dblessing/b8dc31b70003d56998aa to your computer and use it in GitHub Desktop.
VPN Complete Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Below is adjusted to take the SDK options in to account | |
aws_vpn_gateway 'virtual-gateway' do | |
vpc 'top' | |
end | |
aws_customer_gateway 'customer-gateway' do | |
bgp_asn '65000' # optional... | |
public_ip 'x.x.x.x' | |
end | |
aws_vpn_connection 'vpn-connection' do | |
virtual_private_gateway 'virtual-gateway' | |
customer_gateway 'customer-gateway' | |
static_routes_only true | |
# Below actually represents another resource in the SDK - 'vpn_connection_routes' | |
# but can probably be represented as a parameter on the vpn_connection resource here | |
static_routes ['172.31.10.0/24', '10.0.0.0/24'] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment