diff --git a/changelogs/fragments/endpoint.yml b/changelogs/fragments/endpoint.yml new file mode 100644 index 00000000000..761e696f0cd --- /dev/null +++ b/changelogs/fragments/endpoint.yml @@ -0,0 +1,2 @@ +trivial: +- ec2_vpc_endpoint - don't assume an endpoint we might not have created has no routes attached. diff --git a/tests/integration/targets/ec2_vpc_endpoint/tasks/main.yml b/tests/integration/targets/ec2_vpc_endpoint/tasks/main.yml index 4ea9e938cff..28a32714546 100644 --- a/tests/integration/targets/ec2_vpc_endpoint/tasks/main.yml +++ b/tests/integration/targets/ec2_vpc_endpoint/tasks/main.yml @@ -147,7 +147,6 @@ - '"creation_timestamp" in first_endpoint' - '"policy_document" in first_endpoint' - '"route_table_ids" in first_endpoint' - - first_endpoint.route_table_ids | length == 0 - '"service_name" in first_endpoint' - '"state" in first_endpoint' - '"vpc_endpoint_id" in first_endpoint'