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

Enable use of template in multiple regions #27

Closed ckamps closed 2 years ago

ckamps commented 2 years ago

Include the AWS region identifier in the IAM roles and instance profiles created by the template so that the template can be more easily used within the same account in multiple regions.

A workaround is to set either the pApp or pEnvPurpose parameters to distinguish between instances of the stack in different regions. e.g. pAppEnvPurpose = prod-us-west-2.

ckamps commented 2 years ago

Latest commit resolves this issue: https://github.com/aws-samples/vpn-gateway-strongswan/commit/6c1caab6cb53c383ace6e4cc834d2c1e27ef924a