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
554 B
HCL
19 lines
554 B
HCL
output "hosted_zone_id" {
|
|
value = data.aws_route53_zone.site.zone_id
|
|
description = "Verified hosted zone ID."
|
|
}
|
|
|
|
output "certificate_arn" {
|
|
value = data.aws_acm_certificate.shared.arn
|
|
description = "Verified ACM certificate ARN."
|
|
}
|
|
|
|
output "github_oidc_provider_arn" {
|
|
value = data.aws_iam_openid_connect_provider.github.arn
|
|
description = "Verified GitHub OIDC provider ARN."
|
|
}
|
|
|
|
output "cache_policy_id" {
|
|
value = data.aws_cloudfront_cache_policy.managed.id
|
|
description = "Verified AWS managed cache policy ID."
|
|
}
|