mirror of
https://github.com/Sea-Haven-Industries/seahaven-site.git
synced 2026-09-30 05:23:18 +00:00
15 lines
471 B
Terraform
15 lines
471 B
Terraform
|
|
# 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
|
||
|
|
}
|