2022-08-28 14:55:56 +01:00
|
|
|
terraform {
|
|
|
|
required_providers {
|
|
|
|
vercel = {
|
2022-09-17 17:30:57 +01:00
|
|
|
source = "vercel/vercel"
|
2023-07-19 11:58:50 +01:00
|
|
|
version = "0.14.0"
|
2022-08-28 14:55:56 +01:00
|
|
|
}
|
|
|
|
aws = {
|
2022-09-17 17:30:57 +01:00
|
|
|
source = "hashicorp/aws"
|
|
|
|
version = "4.28.0"
|
2022-08-28 14:55:56 +01:00
|
|
|
}
|
2023-02-05 20:57:17 +00:00
|
|
|
hcloud = {
|
|
|
|
source = "hetznercloud/hcloud"
|
|
|
|
version = "1.36.1"
|
2023-07-14 16:53:41 +01:00
|
|
|
}
|
|
|
|
cloudflare = {
|
|
|
|
source = "cloudflare/cloudflare"
|
2023-02-05 20:57:17 +00:00
|
|
|
version = "3.33.1"
|
2023-07-14 16:53:41 +01:00
|
|
|
}
|
2022-08-28 14:55:56 +01:00
|
|
|
}
|
2022-09-09 19:05:06 +01:00
|
|
|
backend "s3" {
|
|
|
|
bucket = "gsimmer-terraform-state"
|
|
|
|
key = "state/personal.tfstate"
|
|
|
|
region = "eu-west-2"
|
2022-10-29 22:00:34 +01:00
|
|
|
|
|
|
|
dynamodb_table = "gsimmer-terraform-lock"
|
2022-09-09 19:05:06 +01:00
|
|
|
}
|
|
|
|
}
|
2022-09-17 17:30:57 +01:00
|
|
|
|
|
|
|
provider "aws" {
|
2022-09-26 09:10:53 +01:00
|
|
|
alias = "virginia"
|
2022-09-17 17:30:57 +01:00
|
|
|
region = "us-east-1"
|
2022-10-29 22:00:34 +01:00
|
|
|
}
|
2022-10-30 09:00:59 +00:00
|
|
|
|
|
|
|
provider "aws" {
|
|
|
|
region = "eu-west-2"
|
|
|
|
}
|
2022-12-16 17:42:21 +00:00
|
|
|
|
2023-02-05 20:57:17 +00:00
|
|
|
provider "hcloud" {}
|
2022-12-16 17:42:21 +00:00
|
|
|
|
2022-12-17 00:24:27 +00:00
|
|
|
variable "tailscale_key" {
|
|
|
|
type = string
|
2022-12-16 17:42:21 +00:00
|
|
|
}
|