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

Fix region variable in cfn-init to retrieve PSK #14

Closed techdad closed 3 years ago

techdad commented 3 years ago

Description of changes:

Fixed a small error in the cfn-init code that creates the script which retrieves the PSK from SecretsManager. There was a hard-coded region, however a) this is not documented anywhere and b) the IAM policy created to access SecretsManager only works in the same region a the stack.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

techdad commented 3 years ago

This will fix issue #13 (https://github.com/aws-samples/vpn-gateway-strongwswan/issues/13)