Created
July 7, 2016 05:41
-
-
Save AbeIka/3dcba3bb170f9df37141727cbce31cc7 to your computer and use it in GitHub Desktop.
This file contains 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
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Metadata": { | |
}, | |
"Resources": { | |
"VPNGateway": { | |
"Type": "AWS::EC2::VPNGateway", | |
"Properties": { | |
"Type": "ipsec.1" | |
} | |
}, | |
"VPNGatewayAttachment": { | |
"Type": "AWS::EC2::VPCGatewayAttachment", | |
"Properties": { | |
"VpcId": { | |
"Ref": "VPCID" | |
}, | |
"VpnGatewayId": { | |
"Ref": "VPNGateway" | |
} | |
} | |
}, | |
"RoutePropagation": { | |
"Type": "AWS::EC2::VPNGatewayRoutePropagation", | |
"DependsOn": "VPNGatewayAttachment", | |
"Properties": { | |
"RouteTableIds": [ | |
{ | |
"Ref": "RouteTableID" | |
} | |
], | |
"VpnGatewayId": { | |
"Ref": "VPNGateway" | |
} | |
} | |
} | |
}, | |
"Parameters": { | |
"VPCID": { | |
"Type": "AWS::EC2::VPC::Id" | |
}, | |
"RouteTableID": { | |
"Type": "String" | |
} | |
}, | |
"Outputs": {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment