hackforla / hackforla/incubator

Add Cognito to Terraform

Open
#17 14 comments 0 reactions 1 assignee Claimed by @RSkuma View on GitHub
complexity: medium feature: Cognito role: DevOps Engineer size: 3pt status: 2 weeks inactive
Dominant language
HCL
Stars
6
Forks
18
Avg merge
1h 9m
Merged PRs (30d)
42

Description

### Overview

We need to create a shared Cognito user pool for apps that share common users (PeopleDepot, VRMS, etc) using terraform

Additionally, we need to create a common cognito module for apps that have their own user pools (homeuniteus, techworkexperience, youthjusticenav)

### Cognito for unique user pools (external users for each app are different)
We will also need a module for projects that need a unique user pool (e.g., homeuniteus, techworkexperience, youthjusticenav)

### Action Items

- [ ] Create the shared user pool as a resource, which does not have to be a shared module as there is only one
- [ ] Create the shared module `shared_user_pool_access` which sets up the user pool for access to an app that uses it. This contains IAM policies and callback URLs
- [ ] Locate a project that may use this ( vrms-dev ), and use it to test the shared module
- [ ] Optional, create the shared module user_pool, for use as a non-shared user pool, which can be used by the apps like people-depot which manage their own users.
- [ ] Apply this configuration to homeuniteus vrms-dev as a test

### Resources/Instructions

https://developer.hashicorp.com/terraform/language/state/import
https://registry.terraform.io/providers/-/aws/latest/docs/resources/cognito_user_pool
https://github.com/hackforla/incubator/pull/61/files

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.