Skip to content

Commit

Permalink
feat(PowerDNS): add PowerDNS support
Browse files Browse the repository at this point in the history
  • Loading branch information
rixrix committed Dec 10, 2016
1 parent 043c314 commit 995fe41
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* Add support for `Mailgun`
* Add support for `Packet`
* Add support for `PagerDuty`
* Add support for `PowerDNS`

# 0.10.0

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ This extension for Visual Studio Code adds snippets for Terraform.
* Mailgun
* Packet
* PagerDuty
* PowerDNS
* AWS
* Resources w/ examples
* All [Data Sources](https://www.terraform.io/docs/providers/aws/d/acm_certificate.html),
Expand Down Expand Up @@ -110,7 +111,6 @@ A massive list of things to add
* Microsoft Azure (Legacy ASM)
* OpenStack
* PowerDNS
* RabbitMQ
* Random
* Rundeck
Expand Down
26 changes: 25 additions & 1 deletion snippets/terraform.json
Original file line number Diff line number Diff line change
Expand Up @@ -5180,5 +5180,29 @@
" vendor = \"\\${data.pagerduty_vendor.datadog.id}\"",
"}"
]
}
},
"powerdns": {
"prefix": "tf-powerdns",
"description": "define a powerdns provider.",
"body": [
"provider \"powerdns\" {",
" api_key = \"\\${var.pdns_api_key}\"",
" server_url = \"\\${var.pdns_server_url}\"",
"}"
]
},
"powerdns_record": {
"prefix": "tf-powerdns_record",
"description": "define powerdns_record resource.",
"body": [
"resource \"powerdns_record\" \"${myResourceName}\" {",
" name = \"my-${myResourceName}\"",
" description = \"my-description-${myResourceName}\"\n",
" zone = \"example.com.\"",
" type = \"A\"",
" ttl = 300",
" records = [\"192.168.0.11\"]",
"}"
]
},
}

0 comments on commit 995fe41

Please sign in to comment.