opentofu/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 provider/archive: Converting to datasource. (#8492) 2016-10-25 15:59:06 +01:00
atlas Add VersionString 2016-07-21 16:43:49 -04:00
aws Merge pull request #10733 from hashicorp/f-remove-deprecated-param-group 2016-12-14 16:32:36 -06:00
azure provider/azure: add custom_data argument for azure_instance resource (#8158) 2016-08-14 11:02:49 +01:00
azurerm provider/azurerm: add support for tags to dns_zone (#10750) 2016-12-15 14:14:53 +00:00
bitbucket provider/bitbucket: Remove unnecessary casts. 2016-09-22 17:35:03 +10:00
chef provider/chef: Updating the provider_test comments to remove a company name (#10197) 2016-11-18 10:53:21 +02:00
clc [clc] add missing ForceNew on several fields 2016-05-11 11:39:35 -07:00
cloudflare provider/cloudflare: Add migration for v1 to v4 API libraries (#6969) 2016-06-07 14:29:25 -05:00
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 Fixes for consul_service resource (#9366) 2016-10-26 13:07:00 +01:00
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 Grafana Provider, with Data Source and Dashboard resources (#6206) 2016-05-20 10:20:17 +01:00
heroku
icinga2 Initial check in for Icinga2 Provider/Resource (#8306) 2016-12-12 15:28:26 +00:00
influxdb Improve influxdb provider (#7333) 2016-08-05 16:27:03 +10:00
librato provider/librato: Randomize the test case names as dangling resources were causing failures 2016-09-22 12:43:06 +01:00
logentries provider/logentries: Implementing logentries provider (#7067) 2016-07-12 14:14:39 +01:00
mailgun
mysql use hashicorp/go-version to parse mysql server version 2016-08-31 10:50:08 +02:00
nomad providers/nomad: use DefaultConfig to intialize all fields 2016-11-19 10:20:54 -08:00
null provider/null: null_data_source data source 2016-05-14 08:26:37 -07:00
openstack provider/openstack: More Import and Region Fixes (#10662) 2016-12-12 09:14:38 +00:00
packet provider/packet: Restructure the Packet Volume test to no longer rely on environment variables 2016-08-15 08:38:43 +01:00
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 provider/powerdns: Add support for PowerDNS 4 API (#7819) 2016-07-28 17:01:06 +01:00
rabbitmq Fix vet issues 2016-10-18 11:11:12 -04:00
rancher [Provider] Rancher (#9173) 2016-12-05 15:29:41 +00:00
random provider/random: Separate read from create 2016-11-06 17:05:11 -06:00
rundeck Improving Rundeck provider: scheduler (#9449) 2016-12-13 12:00:53 +00:00
scaleway provider/scaleway: improve volume attachment (#10084) 2016-11-17 15:08:05 +02:00
softlayer Added softlayer virtual guest and ssh keys functionality: 2016-05-03 15:58:58 -05:00
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 state/remote: Officially Support local backend 2016-09-03 15:42:40 -07:00
test ResourceConfig.get should never return (nil, true) 2016-11-18 16:24:40 -05:00
tls Restore tls_cert_request to being a managed resource 2016-09-24 12:22:07 -07:00
triton provider/triton: Id trying to be used before being set 2016-08-30 23:19:04 +01:00
ultradns ultradns providers and improvements (#9788) 2016-12-15 16:28:34 +00:00
vault provider/vault: vault_generic_secret data source 2016-10-29 23:16:57 -07:00
vcd
vsphere Adding 'detach_unknown_disks_on_delete' flag for VM resource 2016-09-26 18:16:02 -07:00