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:
@@ -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."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user