Skip to content

UserPoolId in Outputs #321

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

salemgolemugoo
Copy link

Description

Cognito User Pool Id in the output of the UI template

Changes

A new output value for the CF stack

How Has This Been Tested?

I'm able to fetch the parameter from the stack output

@gmarciani
Copy link
Collaborator

Hi @salemgolemugoo ,

thank you for your interest in ParallelCluster UI and your contribution!

My concern is that exposing UserPooolId as PCUI stack output is redundant.

There are two scenarios:

  1. If you deploy PCUI with an existing Cognito, the UserPooolId is available as stack parameter.
  2. If you deploy Cognito as part of PCUI, the UserPooolId is available as output in Cognito nested stack.

What's the use case where duplicating this information into PCUI stack output would be helpful?

Thanks,
Giacomo

@salemgolemugoo
Copy link
Author

I deploy the stack via https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudformation_stack terraform resource. In order to fetch some additional info about the created UserPool I need to have this ID and pass it to https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/cognito_user_pool

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

Successfully merging this pull request may close these issues.

2 participants