This commit is contained in:
parent
4728938a88
commit
9b0dcf9942
12
provider.tf
12
provider.tf
@ -2,17 +2,17 @@ terraform {
|
||||
required_providers {
|
||||
cloudflare = {
|
||||
source = "cloudflare/cloudflare"
|
||||
version = "~> 3.0"
|
||||
version = "~> 5"
|
||||
}
|
||||
}
|
||||
required_version = ">= 1.7.5"
|
||||
}
|
||||
|
||||
provider "cloudflare" {
|
||||
#email = "${var.cloudflare_email}"
|
||||
# token = "${var.cloudflare_token}"
|
||||
email = "${var.cloudflare_email}"
|
||||
api_token = "${var.cloudflare_api_token}"
|
||||
|
||||
email = "thedjinhn@gmail.com"
|
||||
token = "EMVLdieKXA6X-ifx0tW0ELNQGde5XrJ3D8T-qcEY"
|
||||
zone = "tips-of-mine.com"
|
||||
# email = "thedjinhn@gmail.com"
|
||||
# api_token = "EMVLdieKXA6X-ifx0tW0ELNQGde5XrJ3D8T-qcEY"
|
||||
# zone = "tips-of-mine.com"
|
||||
}
|
14
variables.tf
14
variables.tf
@ -1,19 +1,23 @@
|
||||
variable "cloudflare_email" {
|
||||
description = "The email associated with the account. This can also be specified with the CLOUDFLARE_EMAIL shell environment variable."
|
||||
default = "default"
|
||||
type = string
|
||||
default = "thedjinhn@gmail.com"
|
||||
}
|
||||
|
||||
variable "cloudflare_token" {
|
||||
variable "cloudflare_api_token" {
|
||||
description = "The Cloudflare API token. This can also be specified with the CLOUDFLARE_TOKEN shell environment variable."
|
||||
default = "default"
|
||||
type = string
|
||||
default = "EMVLdieKXA6X-ifx0tW0ELNQGde5XrJ3D8T-qcEY"
|
||||
}
|
||||
|
||||
variable "cloudflare_zone" {
|
||||
description = "The DNS zone to add the record to."
|
||||
default = "default"
|
||||
type = string
|
||||
default = "tips-of-mine.com"
|
||||
}
|
||||
|
||||
variable "main_server" {
|
||||
description = "The main web server"
|
||||
default = "127.0.0.1"
|
||||
type = string
|
||||
default = "82.66.77.254"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user