Add cloudflare
This commit is contained in:
22
modules/cloudflare/variables.tf
Normal file
22
modules/cloudflare/variables.tf
Normal file
@@ -0,0 +1,22 @@
|
||||
variable "api_token" {
|
||||
description = "cloudflare token"
|
||||
type = string
|
||||
nullable = false
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "zone_id" {
|
||||
description = "cloudflare zone id "
|
||||
type = string
|
||||
nullable = false
|
||||
}
|
||||
|
||||
variable "records" {
|
||||
description = "cloudflare records"
|
||||
type = list(object({
|
||||
name = string
|
||||
ip = string
|
||||
ip_type = string
|
||||
}))
|
||||
}
|
||||
|
Reference in New Issue
Block a user