Skip to content

Commit

Permalink
sanity fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mandar242 committed Oct 11, 2024
1 parent bb723cc commit c625ead
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/module_utils/ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,27 +619,31 @@ def describe_vpc_vpn_gateways(
) -> List[Dict[str, Any]]:
return client.describe_vpn_gateways(**params)


@EC2VpcVpnGatewaysErrorHandler.list_error_handler("create vpc vpn gateway", [])
@AWSRetry.jittered_backoff()
def create_vpc_vpn_gateway(
client, **params: Dict[str, Union[List[str], int, List[Dict[str, Union[str, List[str]]]]]]
) -> List[Dict[str, Any]]:
return client.create_vpn_gateway(**params)


@EC2VpcVpnGatewaysErrorHandler.list_error_handler("delete vpc vpn gateway", [])
@AWSRetry.jittered_backoff()
def delete_vpc_vpn_gateway(
client, **params: Dict[str, Union[List[str], int, List[Dict[str, Union[str, List[str]]]]]]
) -> List[Dict[str, Any]]:
return client.delete_vpn_gateway(**params)


@EC2VpcVpnGatewaysErrorHandler.list_error_handler("attach vpc vpn gateway", [])
@AWSRetry.jittered_backoff()
def attach_vpc_vpn_gateway(
client, **params: Dict[str, Union[List[str], int, List[Dict[str, Union[str, List[str]]]]]]
) -> List[Dict[str, Any]]:
return client.attach_vpn_gateway(**params)


@EC2VpcVpnGatewaysErrorHandler.list_error_handler("detach vpc vpn gateway", [])
@AWSRetry.jittered_backoff()
def detach_vpc_vpn_gateway(
Expand Down

0 comments on commit c625ead

Please sign in to comment.