File tree Expand file tree Collapse file tree 3 files changed +44
-0
lines changed Expand file tree Collapse file tree 3 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ module "example_com" {
2+ source = " pan-net/terraform-provider-powerdns"
3+ name = [
4+ " example.com."
5+ ]
6+
7+ records = [
8+ {
9+ type = " SOA" ,
10+ ttl = 300 ,
11+ records = [
12+ " ns1.example.com. hostmaster.example.com. 0 10800 3600 604800 3600"
13+ ]
14+ },
15+ {
16+ name = " www" ,
17+ type = " AAAA" ,
18+ ttl = 300 ,
19+ records = [
20+ " ::1"
21+ ]
22+ }
23+ ]
24+ }
25+
Original file line number Diff line number Diff line change 1+ terraform {
2+ required_providers {
3+ powerdns = {
4+ source = " pan-net/powerdns"
5+ # version = "1.5.0"
6+ }
7+ }
8+ }
9+
10+ provider "powerdns" {
11+ api_key = var. pdns_api_key
12+ server_url = var. pdns_server_url
13+ }
Original file line number Diff line number Diff line change 1+ variable "pdns_api_key" {
2+ type = string
3+ }
4+ variable "pdns_server_url" {
5+ type = string
6+ }
You can’t perform that action at this time.
0 commit comments