Skip to content

This terraform project creates multiple single-tenant user pools in AWS, one for each SAML or OICD compliant identity provider

License

Notifications You must be signed in to change notification settings

sayujnath/single-tenant-cognito-pools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Objective

Automated creation of Cognito User Pools which authorize the use of services. Each pool uses and external Identity provider (IdP) for authentication. Each IdP can either be SAML or OICD compliant. The following diagram shows the entire flow between application service with Cognito Authoirization server and third party IdP.

alt text

Prerequisites

Requirement Description
Terraform Installation Instructions
AWS Account and CLI Credentials Create Account
Terraform Backend Setting up backend

Installation

  1. Update setup/state.tf file with an AWS cli profile with admin access, Terraform backend state and lock file using pre-configured S3 bucket and DynamoDB table.
  2. Deploy using Terraform and AWS provider
cd setup
terraform plan -out infra-plan.json
terraform apply 

About

This terraform project creates multiple single-tenant user pools in AWS, one for each SAML or OICD compliant identity provider

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages