seahaven-site/terraform/ssm.tf
Adam Moussa 3a8de4e88b
feat(ci): deploy the marketing site through the org static caller (PLAT-225) (#69)
* 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.

* fix(ci): run the static check after the legacy ci job

Both jobs call ci-static, which cancels the other in-progress run on the same ref, so ci-complete never saw both succeed.

* fix(ci): address review feedback

* fix(ci): address review feedback

* fix(ci): address review feedback

* fix(ci): address review feedback
2026-09-25 15:18:40 +00: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
}