terraform/builtin/providers
Joseph Anthony Pasquale Holsten d783e831f8 ultradns providers and improvements (#9788)
* vendor: update github.com/Ensighten/udnssdk to v1.2.1

* ultradns_tcpool: add

* ultradns.baseurl: set default

* ultradns.record: cleanup test

* ultradns_record: extract common, cleanup

* ultradns: extract common

* ultradns_dirpool: add

* ultradns_dirpool: fix rdata.ip_info.ips to be idempotent

* ultradns_tcpool: add doc

* ultradns_dirpool: fix rdata.geo_codes.codes to be idempotent

* ultradns_dirpool: add doc

* ultradns: cleanup testing

* ultradns_record: rename resource

* ultradns: log username from config, not client

udnssdk.Client is being refactored to use x/oauth2, so don't assume we
can access Username from it

* ultradns_probe_ping: add

* ultradns_probe_http: add

* doc: add ultradns_probe_ping

* doc: add ultradns_probe_http

* ultradns_record: remove duplication from error messages

* doc: cleanup typos in ultradns

* ultradns_probe_ping: add test for pool-level probe

* Clean documentation

* ultradns: pull makeSetFromStrings() up to common.go

* ultradns_dirpool: log hashIPInfoIPs

Log the key and generated hashcode used to index ip_info.ips into a set.

* ultradns: simplify hashLimits()

Limits blocks only have the "name" attribute as their primary key, so
hashLimits() needn't use a buffer to concatenate.

Also changes log level to a more approriate DEBUG.

* ultradns_tcpool: convert rdata to schema.Set

RData blocks have the "host" attribute as their primary key, so it is
used by hashRdatas() to create the hashcode.

Tests are updated to use the new hashcode indexes instead of natural
numbers.

* ultradns_probe_http: convert agents to schema.Set

Also pull the makeSetFromStrings() helper up to common.go

* ultradns: pull hashRdatas() up to common

* ultradns_dirpool: convert rdata to schema.Set

Fixes TF-66

* ultradns_dirpool.conflict_resolve: fix default from response

UltraDNS REST API User Guide claims that "Directional Pool
Profile Fields" have a "conflictResolve" field which "If not
specified, defaults to GEO."
https://portal.ultradns.com/static/docs/REST-API_User_Guide.pdf

But UltraDNS does not actually return a conflictResolve
attribute when it has been updated to "GEO".

We could fix it in udnssdk, but that would require either:
* hide the response by coercing "" to "GEO" for everyone
* use a pointer to allow checking for nil (requires all
users to change if they fix this)

An ideal solution would be to have the UltraDNS API respond
with this attribute for every dirpool's rdata.

So at the risk of foolish consistency in the sdk, we're
going to solve it where it's visible to the user:
by checking and overriding the parsing. I'm sorry.

* ultradns_record: convert rdata to set

UltraDNS does not store the ordering of rdata elements, so we need a way
to identify if changes have been made even it the order changes.
A perfect job for schema.Set.

* ultradns_record: parse double-encoded answers for TXT records

* ultradns: simplify hashLimits()

Limits blocks only have the "name" attribute as their primary key, so
hashLimits() needn't use a buffer to concatenate.

* ultradns_dirpool.description: validate

* ultradns_dirpool.rdata: doc need for set

* ultradns_dirpool.conflict_resolve: validate
2016-12-15 16:28:34 +00:00
..
archive
atlas
aws Merge pull request #10733 from hashicorp/f-remove-deprecated-param-group 2016-12-14 16:32:36 -06:00
azure
azurerm provider/azurerm: add support for tags to dns_zone (#10750) 2016-12-15 14:14:53 +00:00
bitbucket
chef
clc
cloudflare
cloudstack provider/cloudstack: add support for multiple NICs with port forwards and set network_domain for networks (#10638) 2016-12-12 10:06:42 +01:00
cobbler
consul
datadog provider/datadog 9869: Validate credentials when initialising client. (#10567) 2016-12-08 11:17:42 +01:00
digitalocean provider/digitalocean: Removal of an old test that was causing the CI acceptance tests to hang 2016-12-12 17:11:20 +00:00
dme [WIP] provider/azurerm: Bump sdk version to 7.0.1 (#10458) 2016-12-06 08:39:47 +00:00
dnsimple
docker provider/docker: Upload files into container before first start (#9520) 2016-12-05 11:06:34 +00:00
dyn
external "external" data source, for integrating with external programs (#8768) 2016-12-05 17:24:57 +00:00
fastly provider/fastly add origin shielding (#10677) 2016-12-12 22:17:35 +00:00
github provider/github: supports importing resources (#10382) 2016-11-28 17:30:24 +00:00
google provider/google: Moving the XPN EnvVar check into provider_test.go to stop failed build 2016-12-13 19:29:23 +00:00
grafana
heroku
icinga2 Initial check in for Icinga2 Provider/Resource (#8306) 2016-12-12 15:28:26 +00:00
influxdb
librato
logentries
mailgun
mysql
nomad
null
openstack provider/openstack: More Import and Region Fixes (#10662) 2016-12-12 09:14:38 +00:00
packet
pagerduty provider/pagerduty: Allow 'team_responder' role for pagerduty_user resource (#10728) 2016-12-14 23:01:19 +00:00
postgresql Dept of second thoughts: remove authorization support before 0.8 2016-12-13 10:28:06 -08:00
powerdns
rabbitmq
rancher [Provider] Rancher (#9173) 2016-12-05 15:29:41 +00:00
random
rundeck Improving Rundeck provider: scheduler (#9449) 2016-12-13 12:00:53 +00:00
scaleway
softlayer
statuscake provider/statuscake: fix StatusCake tests (#10660) 2016-12-11 19:41:49 +00:00
template providers/template: disallow file paths in `template` 2016-11-22 10:23:58 -08:00
terraform
test
tls
triton
ultradns ultradns providers and improvements (#9788) 2016-12-15 16:28:34 +00:00
vault
vcd
vsphere