Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Cognito from a different account #101

Closed
dannyduncan opened this issue Dec 17, 2020 · 1 comment
Closed

Using Cognito from a different account #101

dannyduncan opened this issue Dec 17, 2020 · 1 comment

Comments

@dannyduncan
Copy link

I'm attempting to run the Cognito provider from another account but getting a permissions error from the UserPoolDomainLookup resource. Is there a way to disable this resource if I'm using a substack OR is there another suggestion you might have.

@dannyduncan
Copy link
Author

dannyduncan commented Dec 17, 2020

For anyone looking to do this in the future, I simply replaced the execution of the domain lookup function within the lambda* and defined the physical resource id directly.

const physicalResourceId = '<<USER_POOL_DOMAIN>>'

*Since this lambda is not used as an edge function, the deploy changes are incorporated the next time it executes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant