mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-07 16:19:01 +00:00
Give HCP the bucket and CloudFront with an empty origin path. GitHub owns bucket-root sync and invalidation so merge-to-main and a human staging tag can deploy without creating HCP runs. G13 fails PRs that mix terraform/ with deployable application files.
18 lines
268 B
HCL
18 lines
268 B
HCL
terraform {
|
|
required_version = ">= 1.14.0, < 2.0.0"
|
|
|
|
required_providers {
|
|
aws = {
|
|
source = "hashicorp/aws"
|
|
version = "~> 6.57"
|
|
}
|
|
}
|
|
|
|
cloud {
|
|
organization = "seahaven"
|
|
|
|
workspaces {
|
|
tags = ["app:shoc-frontend-new"]
|
|
}
|
|
}
|
|
}
|