|
|
@ -46,17 +46,17 @@ EXAMPLES = '''
|
|
|
|
# Gather facts about a particular VPC subnet using ID
|
|
|
|
# Gather facts about a particular VPC subnet using ID
|
|
|
|
- ec2_vpc_subnet_facts:
|
|
|
|
- ec2_vpc_subnet_facts:
|
|
|
|
filters:
|
|
|
|
filters:
|
|
|
|
- subnet-id: subnet-00112233
|
|
|
|
subnet-id: subnet-00112233
|
|
|
|
|
|
|
|
|
|
|
|
# Gather facts about any VPC subnet with a tag key Name and value Example
|
|
|
|
# Gather facts about any VPC subnet with a tag key Name and value Example
|
|
|
|
- ec2_vpc_subnet_facts:
|
|
|
|
- ec2_vpc_subnet_facts:
|
|
|
|
filters:
|
|
|
|
filters:
|
|
|
|
- "tag:Name": Example
|
|
|
|
"tag:Name": Example
|
|
|
|
|
|
|
|
|
|
|
|
# Gather facts about any VPC subnet within VPC with ID vpc-abcdef00
|
|
|
|
# Gather facts about any VPC subnet within VPC with ID vpc-abcdef00
|
|
|
|
- ec2_vpc_subnet_facts:
|
|
|
|
- ec2_vpc_subnet_facts:
|
|
|
|
filters:
|
|
|
|
filters:
|
|
|
|
- vpc-id: vpc-abcdef00
|
|
|
|
vpc-id: vpc-abcdef00
|
|
|
|
|
|
|
|
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|