Skip to content

Commit 1714f24

Browse files
author
Marco Franceschi
committed
feat: Added new RawAwsType to include common attributes
1 parent eb44044 commit 1714f24

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/services/account/connections.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default ({
3333
for (const instance of filtered) {
3434
if (instance) {
3535
connections.push({
36-
id: instance.id,
36+
id: instance.cgId,
3737
resourceType: serviceName,
3838
relation: 'child',
3939
field: serviceName,

src/types/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,9 @@ export interface AwsTag {
1111

1212
export interface TagMap {
1313
[property: string]: string
14-
}
14+
}
15+
16+
export interface RawAwsService {
17+
cgId: string
18+
accountId: string
19+
}

0 commit comments

Comments
 (0)