We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8a14918 + ad3ea05 commit e6815c7Copy full SHA for e6815c7
lib/awspec/helper/finder/vpc_endpoints.rb
@@ -4,9 +4,7 @@ module Awspec::Helper
4
module Finder
5
module VpcEndpoints
6
def find_vpc_endpoint(id)
7
- res = ec2_client.describe_vpc_endpoints({
8
- filters: [{ name: 'vpc-endpoint-id', values: [id] }]
9
- })
+ res = ec2_client.describe_vpc_endpoints({ vpc_endpoint_ids: [id] })
10
11
ret = res.vpc_endpoints.select do |vpce|
12
vpce.vpc_endpoint_id == id
0 commit comments