Add cloudflare

This commit is contained in:
2022-05-08 15:51:41 +02:00
parent 2d86502991
commit 1c2d58f090
7 changed files with 4149 additions and 192 deletions

View 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
}))
}