POC: lift the homelab-grown nextcloud-mcp-server and nextcloud-mcp-deployer-role Terraform modules into this repo so external operators can consume them via a `git::` source. Includes a top-level README documenting the two-phase deploy flow (bootstrap deployer role with a copy-pasteable IAM policy, then assume the role to deploy the MCP server) and supports both in-VPC Qdrant and external/managed Qdrant modes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
49 lines
1.1 KiB
Terraform
49 lines
1.1 KiB
Terraform
output "url" {
|
|
description = "Public HTTPS URL of the MCP server"
|
|
value = "https://${local.fqdn}"
|
|
}
|
|
|
|
output "subdomain" {
|
|
description = "Generated random subdomain (label only, without the zone)"
|
|
value = random_pet.subdomain.id
|
|
}
|
|
|
|
output "fqdn" {
|
|
description = "Fully-qualified domain name"
|
|
value = local.fqdn
|
|
}
|
|
|
|
output "ecs_cluster_name" {
|
|
value = aws_ecs_cluster.this.name
|
|
}
|
|
|
|
output "ecs_service_name" {
|
|
value = aws_ecs_service.this.name
|
|
}
|
|
|
|
output "efs_id" {
|
|
value = aws_efs_file_system.this.id
|
|
}
|
|
|
|
output "log_group_name" {
|
|
value = aws_cloudwatch_log_group.this.name
|
|
}
|
|
|
|
output "task_role_arn" {
|
|
value = aws_iam_role.task.arn
|
|
}
|
|
|
|
output "alb_dns_name" {
|
|
value = aws_lb.this.dns_name
|
|
}
|
|
|
|
output "qdrant_service_name" {
|
|
description = "Qdrant ECS service name (null when use_external_qdrant = true)"
|
|
value = var.use_external_qdrant ? null : aws_ecs_service.qdrant[0].name
|
|
}
|
|
|
|
output "qdrant_dns_name" {
|
|
description = "Internal DNS name where mcp-server reaches qdrant"
|
|
value = "qdrant.${aws_service_discovery_private_dns_namespace.this.name}"
|
|
}
|