seahaven-site/terraform/ssm.tf
Adam Moussa 1cd8d8756a
feat(ci): deploy the marketing site through the org static caller (PLAT-225)
Prod still ships on merge to main. Exec roles leave this workspace, and the deploy reads the bucket and distribution from SSM.
2026-09-24 17:51:17 -04:00

14 lines
471 B
HCL

# Names the static-site deploy workflow reads. Terraform does not manage the
# objects in the bucket, so a content deploy does not change this plan.
resource "aws_ssm_parameter" "deploy_bucket" {
name = "/seahaven-site/deploy/bucket"
type = "String"
value = aws_s3_bucket.origin.bucket
}
resource "aws_ssm_parameter" "deploy_distribution_id" {
name = "/seahaven-site/deploy/distribution-id"
type = "String"
value = aws_cloudfront_distribution.site.id
}