Terraform AWS Cognito App Client

Question:

Currently stuck in the mud with trying to to set up an ‘app client’ for an AWS Cognito User Pool through Terraform. Here is my resource as it stands:

The above works just fine, and my user pool is created. If anybody has any ideas on how to create an app client in the same resource, I’m all ears. I’m beginning to suspect that this functionality doesn’t exist!

Answer:

I believe this was just added to the most recent verison of terraform. You could do something like the following to add a client to your user pool:

See here for the docs:Terraform entry on aws_cognito_user_pool_client

Leave a Reply