mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-07 16:19:01 +00:00
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.
19 lines
529 B
HCL
19 lines
529 B
HCL
output "bucket_name" {
|
|
value = module.environment_owned.bucket_name
|
|
description = "SPA origin bucket name."
|
|
}
|
|
|
|
output "distribution_id" {
|
|
value = module.environment_owned.distribution_id
|
|
description = "CloudFront distribution ID."
|
|
}
|
|
|
|
output "deploy_role_arn" {
|
|
value = module.environment_owned.deploy_role_arn
|
|
description = "GitHub Actions deploy role ARN."
|
|
}
|
|
|
|
output "origin_id" {
|
|
value = module.environment_owned.origin_id
|
|
description = "CloudFront origin ID for the bucket-root SPA."
|
|
}
|