Fix: VpnGatewayId parameter casing in ec2:CreateVpnConnection request (#3401)

Fixes #3397
This commit is contained in:
Brian Pandola 2020-10-27 00:41:01 -07:00 committed by GitHub
commit c0a25bbd9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 2 deletions

View file

@ -7,7 +7,7 @@ class VPNConnections(BaseResponse):
def create_vpn_connection(self):
type = self._get_param("Type")
cgw_id = self._get_param("CustomerGatewayId")
vgw_id = self._get_param("VPNGatewayId")
vgw_id = self._get_param("VpnGatewayId")
static_routes = self._get_param("StaticRoutesOnly")
vpn_connection = self.ec2_backend.create_vpn_connection(
type, cgw_id, vgw_id, static_routes_only=static_routes