mirror of
https://github.com/Sea-Haven-Industries/seahaven-site.git
synced 2026-10-04 14:52:00 +00:00
Prod still ships on merge to main. Exec roles leave this workspace, and the deploy reads the bucket and distribution from SSM.
14 lines
471 B
HCL
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
|
|
}
|