Skip to content

Commit

Permalink
linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mandar242 committed Oct 22, 2024
1 parent e57f23c commit 570738c
Showing 1 changed file with 50 additions and 49 deletions.
99 changes: 50 additions & 49 deletions plugins/module_utils/waiters.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,55 +52,55 @@
],
},
"TransitGatewayAvailable": {
"operation": "DescribeTransitGateways",
"delay": 5,
"maxAttempts": 120,
"acceptors": [
{
"state": "success",
"matcher": "pathAll",
"argument": "TransitGateways[].State",
"expected": "available",
},
{
"state": "retry",
"matcher": "pathAll",
"argument": "TransitGateways[].State",
"expected": "pending",
},
{
"state": "failure",
"matcher": "pathAny",
"argument": "TransitGateways[].State",
"expected": "failed",
},
],
},
"operation": "DescribeTransitGateways",
"delay": 5,
"maxAttempts": 120,
"acceptors": [
{
"state": "success",
"matcher": "pathAll",
"argument": "TransitGateways[].State",
"expected": "available",
},
{
"state": "retry",
"matcher": "pathAll",
"argument": "TransitGateways[].State",
"expected": "pending",
},
{
"state": "failure",
"matcher": "pathAny",
"argument": "TransitGateways[].State",
"expected": "failed",
},
],
},
"TransitGatewayDeleted": {
"operation": "DescribeTransitGateways",
"delay": 5,
"maxAttempts": 120,
"acceptors": [
{
"state": "success",
"matcher": "pathAll",
"argument": "TransitGateways[].State",
"expected": "deleted",
},
{
"state": "retry",
"matcher": "pathAll",
"argument": "TransitGateways[].State",
"expected": "deleting",
},
{
"state": "failure",
"matcher": "pathAny",
"argument": "TransitGateways[].State",
"expected": "failed",
},
],
},
"operation": "DescribeTransitGateways",
"delay": 5,
"maxAttempts": 120,
"acceptors": [
{
"state": "success",
"matcher": "pathAll",
"argument": "TransitGateways[].State",
"expected": "deleted",
},
{
"state": "retry",
"matcher": "pathAll",
"argument": "TransitGateways[].State",
"expected": "deleting",
},
{
"state": "failure",
"matcher": "pathAny",
"argument": "TransitGateways[].State",
"expected": "failed",
},
],
},
"TGWVpcAttachmentAvailable": {
"operation": "DescribeTransitGatewayVpcAttachments",
"delay": 5,
Expand Down Expand Up @@ -882,7 +882,8 @@ def route53_model(name):
"internet_gateway_attached",
ec2_model("InternetGatewayAttached"),
core_waiter.NormalizedOperationMethod(ec2.describe_internet_gateways),
),("EC2", "transit_gateway_available"): lambda ec2: core_waiter.Waiter(
),
("EC2", "transit_gateway_available"): lambda ec2: core_waiter.Waiter(
"transit_gateway_available",
ec2_model("TransitGatewayAvailable"),
core_waiter.NormalizedOperationMethod(ec2.describe_transit_gateways),
Expand Down

0 comments on commit 570738c

Please sign in to comment.