terraform/builtin/providers
James Nugent 6aac79e194 state: Add support for outputs of multiple types
This commit adds the groundwork for supporting module outputs of types
other than string. In order to do so, the state version is increased
from 1 to 2 (though the "public-facing" state version is actually as the
first state file was binary).

Tests are added to ensure that V2 (1) state is upgraded to V3 (2) state,
though no separate read path is required since the V2 JSON will
unmarshal correctly into the V3 structure.

Outputs in a ModuleState are now of type map[string]interface{}, and a
test covers round-tripping string, []string and map[string]string, which
should cover all of the types in question.

Type switches have been added where necessary to deal with the
interface{} value, but they currently default to panicking when the input
is not a string.
2016-05-10 14:40:12 -04:00
..
atlas
aws provider/aws: Change `aws_elastic_ip_association` to have computed parameters (#6552) 2016-05-09 18:40:45 +01:00
azure provider/azure: Randomize DNS Server acctest names 2016-04-27 12:12:53 -05:00
azurerm [azurerm] Add os_type and image_uri in azurerm_virtual_machine (#6553) 2016-05-09 18:51:19 +01:00
chef
clc [clc] additional server types + docs 2016-05-10 10:36:52 -07:00
cloudflare providers/cloudflare: use cloudflare-go 2016-05-03 09:48:50 -07:00
cloudstack Use the new functionality offered by the `go-cloudstack` package 2016-04-22 12:23:47 +02:00
cobbler provider/cobbler: acc tests TF and script tweaks 2016-04-16 08:55:45 -05:00
consul consul_key_prefix resource 2016-04-02 20:37:11 -07:00
datadog provider/datadog: fix code to match schema 2016-05-05 16:51:17 -07:00
digitalocean provider/digitalocean: Check for nil response 2016-03-21 14:25:11 +00:00
dme
dnsimple
docker provider/docker: don't crash with empty commands 2016-04-29 18:54:45 -05:00
dyn
fastly provider/fastly: Add support for Conditions for Fastly Services (#6481) 2016-05-09 14:08:13 -04:00
github Add support for the Base URL endpoint so the GitHub provider can support GitHub Enterprise (#6434) 2016-05-09 19:22:53 +01:00
google Fix import formatting across code base 2016-04-18 17:28:46 -07:00
heroku builtin: Refactor resource.Retry to clarify return 2016-03-09 17:37:56 -06:00
influxdb provider/influxdb: vendor dependencies 2016-03-20 14:55:48 -05:00
librato provider/librato: Use metric name created by agent 2016-04-29 16:27:51 -05:00
mailgun builtin: Refactor resource.Retry to clarify return 2016-03-09 17:37:56 -06:00
mysql
null
openstack provider/openstack: Neutron security group resources 2016-05-03 09:18:48 +00:00
packet
postgresql provider/postgresql: default ssl_mode is "prefer" 2016-04-17 08:32:02 -07:00
powerdns Use schema funcs for reading values from the env 2016-04-08 17:28:54 -04:00
rundeck
softlayer Added softlayer virtual guest and ssh keys functionality: 2016-05-03 15:58:58 -05:00
statuscake
template deps: Update call sites of hil.Eval from update 2016-04-18 16:37:12 -07:00
terraform state: Add support for outputs of multiple types 2016-05-10 14:40:12 -04:00
test helper/schema: Normalize bools to "true"/"false" in diffs 2016-05-05 09:00:58 -05:00
tls state: Add support for outputs of multiple types 2016-05-10 14:40:12 -04:00
triton provider/triton: Recognize 404 for Firewall Rules 2016-05-06 16:51:20 -07:00
ultradns UltraDNS Provider 2016-03-20 12:10:59 -05:00
vcd builtin: Refactor resource.Retry to clarify return 2016-03-09 17:37:56 -06:00
vsphere fixed ipv6 - changed to Computed like ipv4 (#6480) 2016-05-05 15:38:45 +01:00