mirror of
https://github.com/Sea-Haven-Industries/forgejo.git
synced 2026-09-30 03:03: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
457 B
HCL
26 lines
457 B
HCL
provider "aws" {
|
|
region = var.aws_region
|
|
|
|
default_tags {
|
|
tags = {
|
|
Project = local.project
|
|
Environment = "prod"
|
|
ManagedBy = "terraform"
|
|
Workspace = local.hcp_workspace
|
|
}
|
|
}
|
|
}
|
|
|
|
provider "aws" {
|
|
alias = "replica"
|
|
region = "us-west-2"
|
|
|
|
default_tags {
|
|
tags = {
|
|
Project = local.project
|
|
Environment = "prod"
|
|
ManagedBy = "terraform"
|
|
Workspace = local.hcp_workspace
|
|
}
|
|
}
|
|
}
|