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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] adding support for linking Amplify to Cognito, and Storage #25437

Open
m98 opened this issue Jun 17, 2022 · 2 comments
Open
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/amplify Issues and PRs that pertain to the amplify service.

Comments

@m98
Copy link

m98 commented Jun 17, 2022

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

aws_amplify_app resource creation is now limited to only creating the Amplify application itself, but you can't link the Amplify app into Cognito, Storage (S3) or other things that you can do manually using the Amplify dashboard or Amplify CLI.

Expected feature

Linking resources such as Cognito, Storage, or API into the Amplify application.

New or Affected Resource(s)

  • aws_amplify_app

References

@m98 m98 added the enhancement Requests to existing resources that expand the functionality or scope. label Jun 17, 2022
@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. service/amplify Issues and PRs that pertain to the amplify service. labels Jun 17, 2022
@m98 m98 changed the title Adding support for linking Amplify to Cognito, and Storage [feature request] adding support for linking Amplify to Cognito, and Storage Jun 17, 2022
@justinretzolk justinretzolk removed the needs-triage Waiting for first response or review from a maintainer. label Jun 17, 2022
@musicislife727
Copy link

I believe you can do this using the Amplify.Configure() method on the Amplify side (without using the CLI). Essentially you'd be creating these resources separately in Terraform (API, Storage, Cognito, etc.) and setting those at Terraform outputs. Then using Amplify.Configure() method, paste in the relevant values from the Terraform outputs. Not a full solution, but a temporary workaround that could get you going. Amplify is very closely tied to the CLI. Full Terraform integration of this would be great though.

https://docs.amplify.aws/lib/client-configuration/configuring-amplify-categories/q/platform/js/#scoped-configuration

@kevoj7
Copy link

kevoj7 commented Oct 19, 2023

Any movements on this?

It's a pretty important piece for web apps the use auth w/ cognito.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/amplify Issues and PRs that pertain to the amplify service.
Projects
None yet
Development

No branches or pull requests

4 participants