forked from github.com/GenderDysphoria.fyi
Updated terraform config for newer aws provider, deleted old lambdas
This commit is contained in:
@@ -6,6 +6,26 @@ terraform {
|
||||
aws = {
|
||||
source = "hashicorp/aws"
|
||||
}
|
||||
namecheap = {
|
||||
source = "namecheap/namecheap"
|
||||
version = ">= 2.0.0"
|
||||
}
|
||||
}
|
||||
required_version = ">= 0.13"
|
||||
}
|
||||
|
||||
provider "aws" {
|
||||
region = var.region
|
||||
}
|
||||
|
||||
data "http" "externalip" {
|
||||
url = "http://ipv4.icanhazip.com"
|
||||
}
|
||||
|
||||
provider "namecheap" {
|
||||
user_name = var.namecheap.username
|
||||
api_user = var.namecheap.username
|
||||
api_key = var.namecheap.apikey
|
||||
client_ip = chomp(data.http.externalip.body)
|
||||
use_sandbox = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user