terraform/builtin/providers
Chris Marchesi c2b44217dd
provider/aws: Require CloudFront S3 origin origin_access_identity
This fixes an issue where an empty s3_origin_config could be supplied to
aws_cloudfront_distribution, "correctly" setting an empty default value.
Unfortunately the rest of the CloudFront structure helper functions are
not equipped to deal with this kind of scenario, and TF produces
spurious diffs upon future runs.

This removes the default and makes origin_access_identity required when
specifying s3_origin_config.

Note that it has always been intended behaviour that if someone does not
want to use an origin access identity, that s3_origin_config should not
be specified at all. This behaviour still works, as should be evident by
the (still) passing tests.

Fixes hashicorp/terraform#7930.
2016-09-23 13:10:50 +01:00
..
archive
atlas
aws provider/aws: Require CloudFront S3 origin origin_access_identity 2016-09-23 13:10:50 +01:00
azure
azurerm Add normalizeJsonString and validateJsonString functions. 2016-09-17 23:34:50 +01:00
bitbucket provider/bitbucket: Remove unnecessary casts. 2016-09-22 17:35:03 +10:00
chef
clc
cloudflare
cloudstack Support recreating clients and configuring Chef Vaults (#8577) 2016-09-15 14:20:18 +02:00
cobbler
consul
datadog
digitalocean
dme
dnsimple
docker
dyn
fastly
github
google
grafana
heroku
influxdb
librato provider/librato: Randomize the test case names as dangling resources were causing failures 2016-09-22 12:43:06 +01:00
logentries
mailgun
mysql
null
openstack
packet
postgresql
powerdns
rabbitmq
random
rundeck
scaleway
softlayer
statuscake
template
terraform
test
tls
triton
ultradns
vcd
vsphere