Last active
June 20, 2017 19:39
-
-
Save rtizzy/ae6c4a9c5287694b59bd31d835a8fafe to your computer and use it in GitHub Desktop.
Revisions
-
elricsfate revised this gist
Jun 20, 2017 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ VPN_NAME= AWS_ELASTIC_IP= IMAGE_ID= AWS_KEY_NAME= @@ -9,7 +10,7 @@ AWS_VPC_IP= VPN_CIDR= aws cloudformation create-stack \ --stack-name $VPN_NAME \ --template-body file://vpn_bastion.json \ --capabilities CAPABILITY_IAM \ --parameters \ -
elricsfate created this gist
Jun 20, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ AWS_ELASTIC_IP= IMAGE_ID= AWS_KEY_NAME= AWS_VPN_BUCKET= AWS_VPC_PUBLICSUBNET_A_ID= AWS_VPC_PUBLICSUBNET_B_ID= AWS_VPC_PUBLICSUBNET_C_ID= AWS_VPC_IP= VPN_CIDR= aws cloudformation create-stack \ --stack-name vpn-bastion \ --template-body file://vpn_bastion.json \ --capabilities CAPABILITY_IAM \ --parameters \ ParameterKey=ElasticIP,ParameterValue=$AWS_ELASTIC_IP \ ParameterKey=ImageId,ParameterValue=$IMAGE_ID \ ParameterKey=KeyName,ParameterValue=$AWS_KEY_NAME \ ParameterKey=S3VpnKeysBucketName,ParameterValue=$AWS_VPN_BUCKET \ ParameterKey=SubnetPublicA,ParameterValue=$AWS_VPC_PUBLIC_SUBNET_A_ID \ ParameterKey=SubnetPublicB,ParameterValue=$AWS_VPC_PUBLIC_SUBNET_B_ID \ ParameterKey=SubnetPublicC,ParameterValue=$AWS_VPC_PUBLIC_SUBNET_C_ID \ ParameterKey=Vpc,ParameterValue=$AWS_VPC_IP \ ParameterKey=VpnCidr,ParameterValue=$VPN_CIDR