mirror of
https://github.com/Sea-Haven-Industries/afterhours-shift-manager.git
synced 2026-09-30 11:23:12 +00:00
Some checks are pending
Deploy / Deploy to prod (push) Waiting to run
* fix(cutover): write Slack secrets into empty Terraform shells DescribeSecret succeeds on HCP-created shells with no version, so skip-if-exists left roster and Slack tokens unset. * feat(infra): migrate afterhours to HCP Terraform (PLAT-74) Replace the mgmt SAM stack with a prod-only HCP workspace, in-repo hcptf IAM, stub Lambdas, and zip CD on push to main. * fix(cutover): retry DDB unprocessed items and skip past at() holidays Unprocessed BatchWriteItem rows and leftover past at() schedules would drop roster data or abort holiday recreation during prod cutover.
39 lines
1.3 KiB
HCL
39 lines
1.3 KiB
HCL
output "slack_request_url" {
|
|
description = "Slack app Request URL (slash command and interactivity)."
|
|
value = "${aws_apigatewayv2_api.http.api_endpoint}/slack/events"
|
|
}
|
|
|
|
output "api_origin" {
|
|
description = "HTTP API origin for Paychex AFTERHOURS_BASE_URL. No /roster suffix."
|
|
value = aws_apigatewayv2_api.http.api_endpoint
|
|
}
|
|
|
|
output "shift_table_name" {
|
|
description = "DynamoDB table name."
|
|
value = aws_dynamodb_table.shifts.name
|
|
}
|
|
|
|
output "holiday_scheduler_role_arn" {
|
|
description = "Role EventBridge Scheduler assumes to invoke the holiday router."
|
|
value = aws_iam_role.holiday_scheduler.arn
|
|
}
|
|
|
|
output "github_deploy_role_arn" {
|
|
description = "OIDC role ARN for .github/workflows/deploy.yaml (GitHub Environment prod variable DEPLOY_ROLE_ARN)."
|
|
value = aws_iam_role.github_deploy.arn
|
|
}
|
|
|
|
output "artifacts_bucket_name" {
|
|
description = "Lambda artifacts bucket. deploy.yaml uploads functions/<name>/<sha>.zip."
|
|
value = aws_s3_bucket.artifacts.id
|
|
}
|
|
|
|
output "hcptf_apply_role_arn" {
|
|
description = "HCP apply role ARN. Set TFC_AWS_APPLY_ROLE_ARN after the bootstrap window."
|
|
value = aws_iam_role.hcptf_apply.arn
|
|
}
|
|
|
|
output "hcptf_plan_role_arn" {
|
|
description = "HCP plan role ARN. Set TFC_AWS_PLAN_ROLE_ARN after the bootstrap window."
|
|
value = aws_iam_role.hcptf_plan.arn
|
|
}
|