Add matrix-media-repo bucket

This commit is contained in:
Danny Grove 2024-01-15 20:25:37 -08:00
parent e82185c247
commit fa1ac5a44a
Signed by: drgrove
GPG Key ID: E1F4160251DB4C2E
1 changed files with 5 additions and 0 deletions

View File

@ -84,6 +84,11 @@ module "digitalocean_database_cluster" {
digitalocean_region = data.digitalocean_region.provided.slug
}
resource "digitalocean_spaces_bucket" "matrix_media_repo" {
name = "${var.namespace}-${var.environment}-distrust-media-repo"
region = var.region
}
locals {
database_host = module.digitalocean_database_cluster.database_cluster.private_host
database_port = module.digitalocean_database_cluster.database_cluster.port