fix: update MCP URLs for angelia and athena; add Mnemosyne storage resources
This commit is contained in:
@@ -90,6 +90,25 @@ resource "incus_storage_bucket_key" "daedalus_key" {
|
||||
role = "admin"
|
||||
}
|
||||
|
||||
# S3 bucket for Mnemosyne file storage
|
||||
resource "incus_storage_bucket" "mnemosyne" {
|
||||
name = "mnemosyne-content"
|
||||
pool = var.storage_pool
|
||||
project = var.project_name
|
||||
description = "Mnemosyne content storage bucket"
|
||||
|
||||
depends_on = [incus_project.ouranos]
|
||||
}
|
||||
|
||||
# Access key for Mnemosyne S3 bucket
|
||||
resource "incus_storage_bucket_key" "mnemosyne_key" {
|
||||
name = "mnemosyne-access"
|
||||
pool = incus_storage_bucket.mnemosyne.pool
|
||||
storage_bucket = incus_storage_bucket.mnemosyne.name
|
||||
project = var.project_name
|
||||
role = "admin"
|
||||
}
|
||||
|
||||
# Outputs for S3 credentials (to be stored in Ansible vault)
|
||||
output "lobechat_s3_credentials" {
|
||||
description = "Lobechat S3 bucket credentials - store in vault as vault_lobechat_s3_*"
|
||||
@@ -134,3 +153,14 @@ output "daedalus_s3_credentials" {
|
||||
}
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
output "mnemosyne_s3_credentials" {
|
||||
description = "Mnemosyne S3 bucket credentials - store in vault as vault_mnemosyne_s3_*"
|
||||
value = {
|
||||
bucket = incus_storage_bucket.mnemosyne.name
|
||||
access_key = incus_storage_bucket_key.mnemosyne_key.access_key
|
||||
secret_key = incus_storage_bucket_key.mnemosyne_key.secret_key
|
||||
endpoint = "https://${incus_storage_bucket.mnemosyne.location}"
|
||||
}
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user