1
0
mirror of https://github.com/GenderDysphoria/GenderDysphoria.fyi.git synced 2025-11-25 20:42:40 +00:00

Updated terraform config for newer aws provider, deleted old lambdas

This commit is contained in:
Jocelyn Badgley (Twipped)
2023-02-19 12:58:46 -08:00
parent bb52a23297
commit 77bd70819a
20 changed files with 238 additions and 2997 deletions

View File

@@ -1,4 +1,10 @@
variable "region" {
type = string
description = "AWS Hosting Region"
default = "us-east-1"
}
variable "site" {
type = string
description = "The name of the site"
@@ -19,7 +25,16 @@ variable "subdomains" {
]
}
provider "aws" {
profile = "default"
region = "us-east-1"
}
variable "namecheap" {
type = map
description = "Namecheap Credentials"
default = {
username = ""
apikey = ""
}
validation {
condition = length(var.namecheap.username) > 0
error_message = "Must provide a namecheap configuration."
}
}