/learning-terraform-aws-cognito

Terraforming a static web-app that authenticates using amazon cognito then shows the contents of a private S3 bucket

Primary LanguageHCL

AWS Cognito lab

We're following this lab but instead of doing everything via cloudformation and the console, we're doing everything through terraform.

If you build your own, you'll need to register an app in google and remember the client_id.

If you run it and it works, it'll show you pictures of cats.

I had a lot of learning making this. I forgot to:

  • Make my roles trust the cognito
  • Make the private bucket have a CORS rules
  • Among other things

I made this for myself so I could learn.