mirror of
https://github.com/Sea-Haven-Industries/apm-wo-analysis.git
synced 2026-09-30 07:43:15 +00:00
Some checks are pending
Deploy / Deploy to prod (push) Waiting to run
* feat(infra): migrate pipeline and Grafana to HCP Terraform (PLAT-75) Move apm-wo-analysis into seahaven-prod under workspace apm-wo-analysis-prod with in-repo hcptf/githubdeploy IAM, stub Lambdas, and GitHub Actions zip CD. * chore(iam): add Checkov skip comments for HCP IAM documents Pre-push HIGH findings are the DLM snapshot describe, tagged EC2 creates, exec boundary DescribeLogGroups star, and the drop-uploader user policy.
29 lines
1.1 KiB
HCL
29 lines
1.1 KiB
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_exports_bucket" {
|
|
name = "${local.ssm_prefix}/deploy/exports-bucket"
|
|
type = "String"
|
|
value = aws_s3_bucket.exports.id
|
|
description = "Exports bucket; deploy.yaml syncs grafana/ to grafana-config/"
|
|
}
|
|
|
|
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"
|
|
}
|
|
|
|
resource "aws_ssm_parameter" "grafana_url" {
|
|
name = local.grafana_url_param
|
|
type = "String"
|
|
value = local.grafana_dashboard_url
|
|
description = "Grafana dashboard URL for the Slack Open dashboard button"
|
|
}
|