shoc-frontend-new/terraform/modules/environment-owned/outputs.tf
Adam Moussa 2a106d4e9e
ci(cd): convert SPA hosting to handbook HCP and GitHub content CD
Give HCP the bucket and CloudFront with an empty origin path. GitHub owns
bucket-root sync and invalidation so merge-to-main and a human staging tag
can deploy without creating HCP runs. G13 fails PRs that mix terraform/
with deployable application files.
2026-09-17 15:55:25 -04:00

19 lines
495 B
HCL

output "bucket_name" {
value = aws_s3_bucket.site.id
description = "Imported site bucket name."
}
output "distribution_id" {
value = aws_cloudfront_distribution.site.id
description = "Imported CloudFront distribution ID."
}
output "deploy_role_arn" {
value = aws_iam_role.github_deploy.arn
description = "Imported GitHub deployment role ARN."
}
output "origin_id" {
value = var.origin_id
description = "CloudFront origin ID for the bucket-root SPA."
}