mirror of
https://github.com/Sea-Haven-Industries/payments-dashboard.git
synced 2026-09-30 11:13:11 +00:00
Replace the mgmt SAM stack with a prod-only HCP workspace using the afterhours stub-plus-zip-CD seam so GitHub Actions owns function code and Terraform owns infrastructure.
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"
|
|
}
|