From e9e1295762aea4079da51655ca7f9417a303a7ff Mon Sep 17 00:00:00 2001 From: mihai-satmarean <4729542+mihai-satmarean@users.noreply.github.com> Date: Tue, 28 Feb 2023 12:52:07 +0100 Subject: [PATCH] fixed unneeded `state` in module docs. (#1728) 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: https://github.com/ansible-collections/community.aws/commit/b5eefc1693e7529fb222faf2a4c80085ffff3f28 --- plugins/modules/ec2_transit_gateway_vpc_attachment_info.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/modules/ec2_transit_gateway_vpc_attachment_info.py b/plugins/modules/ec2_transit_gateway_vpc_attachment_info.py index 3a8d4dfd4d1..88f57fefa1b 100644 --- a/plugins/modules/ec2_transit_gateway_vpc_attachment_info.py +++ b/plugins/modules/ec2_transit_gateway_vpc_attachment_info.py @@ -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' '''