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

Fix multiplex bugs add migrations accordingly #158

Merged
merged 1 commit into from
Aug 19, 2021

Conversation

roneli
Copy link
Contributor

@roneli roneli commented Aug 19, 2021

No description provided.

@roneli roneli requested a review from amanenk August 19, 2021 15:59
Copy link
Contributor

@amanenk amanenk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good.
one small question

@@ -474,7 +474,6 @@ func CognitoUserPools() *schema.Table {
Name: "aws_cognito_user_pool_identity_providers",
Description: "A container for information about an identity provider.",
Resolver: fetchCognitoUserPoolIdentityProviders,
Multiplex: client.AccountRegionMultiplex,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't it have any multiplex?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, its a relation, we can't multiplex on multiplex it causes issues since you fetched a resource from region A and then you multiplex it's relation on all regions, bound to cause issues.

@roneli roneli merged commit 0bbfbcf into cloudquery:main Aug 19, 2021
@roneli roneli deleted the bugfix/duplicate_api_calls branch August 19, 2021 16:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants