This commit is contained in:
Hrankin, Aleksandr (contracted)
2026-02-19 11:34:13 +00:00
commit f243f440c3
191 changed files with 6183 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
resource "powerdns_record" "this" {
zone = var.zone_name
name = var.name
type = var.type
ttl = var.ttl
records = var.records
}

View File

@@ -0,0 +1,19 @@
variable "zone_name" {
type = string
}
variable "name" {
type = string
}
variable "type" {
type = string
}
variable "ttl" {
type = number
}
variable "records" {
type = list(string)
}

View File

@@ -0,0 +1,10 @@
terraform {
required_version = ">= 1.3.0"
required_providers {
powerdns = {
source = "pan-net/powerdns"
# version = "1.5.0" # опционально: можно зафиксировать
}
}
}