-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confirm Schema provisioning sql commands #85
Comments
@drakeredwind01 Please ask DevOps if this is still relevant or required by incubator. Then talk to us at PD about it at our next meeting |
Background: the goal of this issue was to figure out how database multi tenancy worked in the terragrunt setup. We wanted to be able to get new projects deployed ourselves (Ops) without having to bother Darren Pham for it. If the current Terraform setup already does this or have an alternative solution for multi tenancy, then this issue is not needed. |
This should be a terraform resource. No SQL commands necessary. Credentials should be scoped to this schema |
Incubator provisions PostgreSQL databases now through terraform, onto the shared RDS instance. Using the owner credentials generated, a user can create multiple schemas. If the purpose of this question is to ask how database resources are isolated across projects in incubator, terraform creates databases with roles attached for that database. If data isolation is the issue, no additional commands are necessary. However, within their own database, users can create as many schemas as they need. |
Dependency
Overview
For the People Depot database to be provisioned on to the Incubator rds, it'll need it's own
schema
to isolate it's data. We would like for People Depot developers to run and confirm the sql commands for provisioning a schema and database on a local instance.SQL Commands
Action Items
schema
name, and databaseusername
for People-Depotdev
. So the schema name would be likepeople-depot-dev
Resources/Instructions
https://github.com/hackforla/incubator/blob/main/terraform-modules/multi-tenant-database/files/database.py#L41
The text was updated successfully, but these errors were encountered: