diff --git a/lib/ansible/modules/extras/cloud/amazon/ec2_vpc_route_table.py b/lib/ansible/modules/extras/cloud/amazon/ec2_vpc_route_table.py index b9cfa6481e2..51870c769eb 100644 --- a/lib/ansible/modules/extras/cloud/amazon/ec2_vpc_route_table.py +++ b/lib/ansible/modules/extras/cloud/amazon/ec2_vpc_route_table.py @@ -76,8 +76,8 @@ EXAMPLES = ''' tags: Name: Public subnets: - - "{{ jumpbox_subnet.subnet_id }}" - - "{{ frontend_subnet.subnet_id }}" + - "{{ jumpbox_subnet.subnet.id }}" + - "{{ frontend_subnet.subnet.id }}" - "{{ vpn_subnet.subnet_id }}" routes: - dest: 0.0.0.0/0 @@ -91,7 +91,7 @@ EXAMPLES = ''' tags: Name: Internal subnets: - - "{{ application_subnet.subnet_id }}" + - "{{ application_subnet.subnet.id }}" - 'Database Subnet' - '10.0.0.0/8' routes: