diff --git a/plugins/modules/ec2_vpc_net_info.py b/plugins/modules/ec2_vpc_net_info.py index 93b44fa7920..da4b68b4969 100644 --- a/plugins/modules/ec2_vpc_net_info.py +++ b/plugins/modules/ec2_vpc_net_info.py @@ -41,6 +41,16 @@ - amazon.aws.ec2_vpc_net_info: vpc_ids: vpc-00112233 +# Retrieve Information for a Specific Subnet +- amazon.aws.ec2_vpc_net_info: + subnet_ids: + - subnet-123 + register: specific_subnet_info + +- debug: + var: specific_subnet_info + + # Gather information about any VPC with a tag key Name and value Example - amazon.aws.ec2_vpc_net_info: filters: