seahaven-site/terraform/ssm.tf

15 lines
471 B
Terraform
Raw Permalink Normal View History

# 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
}