Skip to content

Commit

Permalink
fixed unneeded state in module docs. (ansible-collections#1728)
Browse files Browse the repository at this point in the history
fixed unneeded `state` in module docs.

SUMMARY

removed state as it does not work in the info part

ISSUE TYPE

Docs Pull Request

COMPONENT NAME

ADDITIONAL INFORMATION

"Unsupported parameters for (community.aws.ec2_transit_gateway_vpc_attachment_info) module: state. Supported parameters include: access_key, aws_ca_bundle, aws_config, debug_botocore_endpoint_logs, endpoint_url, filters, id, include_deleted, name, profile, region, secret_key, session_token, validate_certs (access_token, attachment_id, aws_access_key, aws_access_key_id, aws_endpoint_url, aws_profile, aws_region, aws_secret_access_key, aws_secret_key, aws_security_token, aws_session_token, ec2_access_key, ec2_region, ec2_secret_key, ec2_url, s3_url, security_token).",

Reviewed-by: Mark Chappell

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@b5eefc1
  • Loading branch information
mihai-satmarean authored and mandar242 committed Oct 23, 2024
1 parent 3a4621a commit e9e1295
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/modules/ec2_transit_gateway_vpc_attachment_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,15 @@
EXAMPLES = '''
# Describe a specific Transit Gateway attachment.
- community.aws.ec2_transit_gateway_vpc_attachment_info:
state: present
id: 'tgw-attach-0123456789abcdef0'
# Describe all attachments attached to a transit gateway.
- community.aws.ec2_transit_gateway_vpc_attachment_info:
state: present
filters:
transit-gateway-id: tgw-0fedcba9876543210'
# Describe all attachments in an account.
- community.aws.ec2_transit_gateway_vpc_attachment_info:
state: present
filters:
transit-gateway-id: tgw-0fedcba9876543210'
'''
Expand Down

0 comments on commit e9e1295

Please sign in to comment.