mirror of
https://github.com/Sea-Haven-Industries/payments-dashboard.git
synced 2026-09-30 10:03:12 +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.
8 lines
216 B
HCL
8 lines
216 B
HCL
data "aws_secretsmanager_secret" "this" {
|
|
for_each = toset(local.secret_names)
|
|
name = each.value
|
|
}
|
|
|
|
locals {
|
|
secret_arns = { for name, secret in data.aws_secretsmanager_secret.this : name => secret.arn }
|
|
}
|