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.
Requirement | Description |
---|---|
Terraform | Installation Instructions |
AWS Account and CLI Credentials | Create Account |
Terraform Backend | Setting up backend |
- 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. - Deploy using Terraform and AWS provider
cd setup
terraform plan -out infra-plan.json
terraform apply