Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Add ability to reference UserPool and IdentityPool resources from another stack. #60

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

philippjbauer
Copy link

Issue #, if available:

Description of changes:
Currently there's no way to define an appClient manually by passing the UserPool(Client) and IdentityPool in using values from a CF stack variable reference.

This enhances the configuration options to do just that.

For configuration see the updated README.md

There was a previous pull request to do this, but as far as I was able to tell it wasn't implemented for both native and Javascript configurations. It was never merged also.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

philippjbauer and others added 8 commits November 6, 2019 15:03
There's no way to define an app client manually by
passing the UserPoolId and ClientId in using
values from a cf stack variable reference.

This enables us to define them like so:

amplify:
  - filename: configuration-file.json
    type: native
    appClient:
      UserPoolId: '${cf:my-other-aws-stack.CognitoUserPool}'
      ClientId: '${cf:my-other-aws-stack.UserPoolClient}'
    s3Bucket: MyBucket
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.

1 participant