-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Missing AWS Cognito Support #8309
Comments
Would LOVE to see this added |
Would also like to see this supported. |
Definitely would like to see this. It's pretty much the only thing missing from being able to have our entire infrastructure in terraform |
There is a start at https://github.com/riccardo-89/terraform-provider-awsaddons and I can't find it right now, but there was another project that started work on this. |
Please add the AWS Cognito resource! It's the only component of our stack without Terraform support. |
+1 |
1 similar comment
👍 |
any update on this guys? Would also love to see cognito support soon its a pretty key service for mobile apps! |
I would love to see this functionality too... Or at least know if I can assume it will be there in the future. |
👍 |
3 similar comments
👍 |
+1 |
👍 |
I'm looking forward to this too, I want to use Cognito User pools as API Gateway authorizers. +1 |
👍 |
Hi guys, Started the work here: #12846 |
@Ninir , Thanks for doing this!!! Any chance you're considering adding cognito-idp as well? -Bryan |
Hi, If anyone is interested, here is how I have worked around this for right now. This solution allows you to add a Cognito User Pool to an API Gateway api as an authorizer, and then, assign that Authorizer to resources. This solution assumes that you will only be using a single authorizer... Fair warning :) First, a module to find the first authorizer id on an api:
Next, the module to create an authorizer on an API:
Finally, the module to attach the authorizer to a resource:
Hope this is helpful to someone else! |
Great approach @billyboingo Thanks for sharing! |
This might be the next work if you guys want :) |
As someone who is currently building something out and butting up against the lack of Terraform support for Cognito, this would be very much appreciated! |
For the record, and future readers, at least terraform
Even though the docs don't specify (it's given straight to the AWS API). This means you won't need the "attach" module in @billyboingo comment |
hi @zsims , I tried your code but i'm using the version 0.9.11 as you indicated |
@giuseppeborgese you still need to create the authorizer in the API. You can either use the first two modules that @billyboingo kindly shared, or create it via CloudFormation. So assuming you've got an AWS Cognito User Pool already created, then you can use CloudFormation and can avoid calling the API (e.g. no custom modules):
|
@zsims you are a genius , your solution work very well and it is also easy to understand and integrate. I don't know how to say thank you . |
it is quite normal that CloudFormation is an AWS product they know in
advance which feature release.
The support will arrive after a little bit I guess
2017-09-07 13:23 GMT+02:00 et304383 <notifications@github.com>:
… I can't believe CloudFormation beat Terraform to support for Cognito User
Pools. :(
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8309 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANUK5Ao1m_orO1LEtqG-yZXmKmQ6l_sIks5sf9IlgaJpZM4JoII7>
.
|
Hey folks, Will try to end the work on Cognito User pools very quickly, including all the current options provided by the API. |
how is Cognito User Pools (not federated identities) going? |
Hi @beeva-sergiocruzado It's going pretty well. There are a lot of things to manage (admin options, schema, etc), but it's getting into shape. You can follow the progression here: hashicorp/terraform-provider-aws#232 |
Thanks @Ninir |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hi there,
Terraform Version
0.7.0
Affected Resource(s)
Expected Behavior
Support for AWS Cognito Identities and User Pools
Actual Behavior
Not supported yet
References
https://aws.amazon.com/cognito/
Question
Is anybody already working on this?
The text was updated successfully, but these errors were encountered: