mirror of
https://github.com/Sea-Haven-Industries/afterhours-shift-manager.git
synced 2026-10-02 01:33:11 +00:00
Replace the mgmt SAM stack with a prod-only HCP workspace, in-repo hcptf IAM, stub Lambdas, and zip CD on push to main.
15 lines
598 B
HCL
15 lines
598 B
HCL
resource "aws_ssm_parameter" "deploy_artifacts_bucket" {
|
|
name = "${local.ssm_prefix}/deploy/artifacts-bucket"
|
|
type = "String"
|
|
value = aws_s3_bucket.artifacts.id
|
|
description = "Lambda artifacts bucket; deploy.yaml uploads functions/<name>/<sha>.zip"
|
|
}
|
|
|
|
resource "aws_ssm_parameter" "deploy_function_name" {
|
|
for_each = local.functions
|
|
|
|
name = "${local.ssm_prefix}/deploy/${each.key}-function-name"
|
|
type = "String"
|
|
value = each.value.function_name
|
|
description = "Lambda function name for ${each.key}; deploy.yaml calls update-function-code"
|
|
}
|