aws-samples / vpn-gateway-strongswan

AWS CloudFormation template to deploy the open source strongSwan VPN solution to act as a VPN gateway in support of site-to-site VPN connections.
Apache License 2.0
68 stars 37 forks source link

Documentation update for "manage-stack" helper script #11

Closed yguntaka closed 3 years ago

yguntaka commented 3 years ago

The REGION parameter in manage-stack is set to us-east-2. Update notes in README that users need to set the appropriate region in line 81 for REGION=< > if it needs to be other than us-east-2

ckamps commented 3 years ago

@yguntaka - Thanks for filing this issue. I've updated the README.md to document the common option arguments for the manage-stack wrapper script. Please review it and let me know if it doesn't address this issue. I also modified the wrapper script to:

  1. More correctly process the -e and -s option arguments.
  2. Enable it to default to AWS_DEFAULT_REGION when --region is not specified.
  3. Corrected bug when --region is specified.
yguntaka commented 3 years ago

Thank you for the prompt update @ckamps I created a new vpnstack with your updates and work great. This solution has been super helpful to play around with strongswan and quagga. Cheers!

yguntaka commented 3 years ago

Region is now an option to call manage-stack, else defaults to the user's region from profile. ./manage-stack -e mystack1 --region us-east-1 template-parameters-psk-auth.json