mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-09-30 04:33:11 +00:00
* feat(terraform): ship dev content CD through Terraform (SH-300) GitHub uploads immutable release prefixes; Terraform owns live publish. Push-to-dev stays off until TERRAFORM_CONTENT_CD_ENABLED is set. * fix(terraform): align release-plan guard flags and CloudFront verify IAM (SH-300)
44 lines
1.3 KiB
HCL
44 lines
1.3 KiB
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 "current_release_label" {
|
|
value = local.current_label
|
|
description = "Pointer current release label. Empty string is the legacy root layout."
|
|
}
|
|
|
|
output "previous_release_label" {
|
|
value = local.previous_label
|
|
description = "Pointer previous release label. Empty string is the legacy root layout."
|
|
}
|
|
|
|
output "current_origin_path" {
|
|
value = local.current_origin_path
|
|
description = "CloudFront origin_path for the current member of the origin group."
|
|
}
|
|
|
|
output "previous_origin_path" {
|
|
value = local.previous_origin_path
|
|
description = "CloudFront origin_path for the previous member of the origin group."
|
|
}
|
|
|
|
output "current_origin_id" {
|
|
value = var.origin_id
|
|
description = "CloudFront origin ID for the current release."
|
|
}
|
|
|
|
output "previous_origin_id" {
|
|
value = local.previous_origin_id
|
|
description = "CloudFront origin ID for the previous release."
|
|
}
|