Skip to content

Commit

Permalink
"select distinct arn ..." (and similar) should be "select distinct on…
Browse files Browse the repository at this point in the history
… (arn) arn ..." Closes #493
  • Loading branch information
madhushreeray30 committed Aug 30, 2022
1 parent 725f80a commit 574ee66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query/vpc/vpc_flow_logs_enabled.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
select
-- Required columns
distinct arn as resource,
distinct on (arn) arn as resource,
case
when v.account_id <> v.owner_id then 'skip'
when f.resource_id is not null then 'ok'
Expand Down

0 comments on commit 574ee66

Please sign in to comment.