mirror of
https://github.com/Sea-Haven-Industries/forgejo.git
synced 2026-09-30 08:53:11 +00:00
* feat(terraform): migrate forgejo to HCP Terraform Move the prod host onto workspace forgejo-prod in the After Hours VPC and freeze CDK push deploys so cutover can happen without applying into seahaven-prod. * fix(terraform): restore forgejo.db from the dump tarball Boot restore was copying data/ and repos/ and leaving the sqlite file at the archive root, so a volume restore started Forgejo with no database.
26 lines
416 B
HCL
26 lines
416 B
HCL
terraform {
|
|
required_version = ">= 1.14.0"
|
|
|
|
required_providers {
|
|
aws = {
|
|
source = "hashicorp/aws"
|
|
version = "~> 6.64"
|
|
}
|
|
archive = {
|
|
source = "hashicorp/archive"
|
|
version = "~> 2.7"
|
|
}
|
|
external = {
|
|
source = "hashicorp/external"
|
|
version = "~> 2.3"
|
|
}
|
|
}
|
|
|
|
cloud {
|
|
organization = "seahaven"
|
|
|
|
workspaces {
|
|
name = "forgejo-prod"
|
|
}
|
|
}
|
|
}
|