Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
PoC new SDK (#115)
Browse files Browse the repository at this point in the history
New SDK v0.3.0-rc7 for AWS. Adds support for user defined PKs. 
This is a breaking change from v0.4.11
  • Loading branch information
roneli authored Jul 15, 2021
1 parent 0602b25 commit c47fb62
Show file tree
Hide file tree
Showing 339 changed files with 2,315 additions and 1,496 deletions.
6 changes: 3 additions & 3 deletions client/filters.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ package client

import "github.com/cloudquery/cq-provider-sdk/provider/schema"

func DeleteAccountFilter(meta schema.ClientMeta) []interface{} {
func DeleteAccountFilter(meta schema.ClientMeta, _ *schema.Resource) []interface{} {
client := meta.(*Client)
return []interface{}{"account_id", client.AccountID}
}

func DeleteAccountRegionFilter(meta schema.ClientMeta) []interface{} {
func DeleteAccountRegionFilter(meta schema.ClientMeta, _ *schema.Resource) []interface{} {
client := meta.(*Client)
return []interface{}{"account_id", client.AccountID, "Region", client.Region}
return []interface{}{"account_id", client.AccountID, "region", client.Region}
}
Loading

0 comments on commit c47fb62

Please sign in to comment.