Skip to content

Commit

Permalink
fix output
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Czarkowski <[email protected]>
  • Loading branch information
paulczar committed Feb 2, 2024
1 parent 73a658d commit d401c9a
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions plugins/modules/transit_gateway_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,30 @@
RETURN = r'''
# These are examples of possible return values, and in general should use other names for return values.
routes:
- destination_cidr_block: 0.0.0.0/0
region: us-east-1
transit_gateway_route_table_id: tgw-rtb-1234567890
transit_gateway_attachment_id: tgw-attach-1234567890
description: transit gateway routes
type: list
returned: always
contains:
destination_cidr_block:
description: The CIDR range used for destination matches. Routing decisions are based on the most specific match.
type: str
example: '10.0.0.0/8'
region:
description: The AWS region
type: str
example: 'us-east-1'
transit_gateway_route_table_id:
description: The ID of the transit gateway route table.
type: str
example: 'tgw-rtb-1234567890'
transit_gateway_attachment_id:
description: The ID of the transit gateway attachment.
type: str
example: 'tgw-attach-1234567890'
blackhole:
description: Indicates whether to drop traffic that matches this route (blackhole).
type: bool
example: false
'''

try:
Expand Down

0 comments on commit d401c9a

Please sign in to comment.