hearth/terraform/modules/s3/outputs.tf
Eric Garcia e78000831e Initial commit: Port infrastructure from coherence-mcp
Hearth is the infrastructure home for the letemcook ecosystem.

Ported from coherence-mcp/infra:
- Terraform modules (VPC, EKS, IAM, NLB, S3, storage)
- Kubernetes manifests (Forgejo, ingress, cert-manager, karpenter)
- Deployment scripts (phased rollout)

Status: Not deployed. EKS cluster needs to be provisioned.

Next steps:
1. Bootstrap terraform backend
2. Deploy phase 1 (foundation)
3. Deploy phase 2 (core services including Forgejo)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 06:06:13 -05:00

73 lines
1.9 KiB
HCL

# S3 Module Outputs
# RFC 0039: ADR-Compliant Foundation Infrastructure
output "email_blobs_bucket_id" {
description = "ID of the email blobs S3 bucket"
value = aws_s3_bucket.email_blobs.id
}
output "email_blobs_bucket_arn" {
description = "ARN of the email blobs S3 bucket"
value = aws_s3_bucket.email_blobs.arn
}
output "loki_chunks_bucket_id" {
description = "ID of the Loki chunks S3 bucket"
value = aws_s3_bucket.loki_chunks.id
}
output "loki_chunks_bucket_arn" {
description = "ARN of the Loki chunks S3 bucket"
value = aws_s3_bucket.loki_chunks.arn
}
output "tempo_traces_bucket_id" {
description = "ID of the Tempo traces S3 bucket"
value = aws_s3_bucket.tempo_traces.id
}
output "tempo_traces_bucket_arn" {
description = "ARN of the Tempo traces S3 bucket"
value = aws_s3_bucket.tempo_traces.arn
}
output "git_lfs_bucket_id" {
description = "ID of the Git LFS S3 bucket"
value = aws_s3_bucket.git_lfs.id
}
output "git_lfs_bucket_arn" {
description = "ARN of the Git LFS S3 bucket"
value = aws_s3_bucket.git_lfs.arn
}
output "kms_key_arn" {
description = "ARN of the KMS key for S3 encryption"
value = aws_kms_key.s3.arn
}
output "kms_key_id" {
description = "ID of the KMS key for S3 encryption"
value = aws_kms_key.s3.key_id
}
# IAM Policy ARNs for IRSA
output "loki_s3_policy_arn" {
description = "ARN of the IAM policy for Loki S3 access"
value = aws_iam_policy.loki_s3.arn
}
output "tempo_s3_policy_arn" {
description = "ARN of the IAM policy for Tempo S3 access"
value = aws_iam_policy.tempo_s3.arn
}
output "stalwart_s3_policy_arn" {
description = "ARN of the IAM policy for Stalwart S3 access"
value = aws_iam_policy.stalwart_s3.arn
}
output "forgejo_s3_policy_arn" {
description = "ARN of the IAM policy for Forgejo S3 access"
value = aws_iam_policy.forgejo_s3.arn
}