terraform/builtin/providers
Paul Stack dcbfaabb95 provider/aws: Deprecate roles in favour of role in iam_instance_profile (#13130)
* provider/aws: Deprecate roles in favour of role in iam_instance_profile

You can only specify a single role to an IAM Instance Profile. So having
a slice of roles in the provider makes no sense. Therefore, we are going
to deprecate this infavour of `role`

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSIAMInstanceProfile_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/03/28 21:24:20 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSIAMInstanceProfile_ -timeout 120m
=== RUN   TestAccAWSIAMInstanceProfile_importBasic
--- PASS: TestAccAWSIAMInstanceProfile_importBasic (25.08s)
=== RUN   TestAccAWSIAMInstanceProfile_basic
--- PASS: TestAccAWSIAMInstanceProfile_basic (22.40s)
=== RUN   TestAccAWSIAMInstanceProfile_withRoleNotRoles
--- PASS: TestAccAWSIAMInstanceProfile_withRoleNotRoles (22.63s)
=== RUN   TestAccAWSIAMInstanceProfile_missingRoleThrowsError
--- PASS: TestAccAWSIAMInstanceProfile_missingRoleThrowsError (4.02s)
=== RUN   TestAccAWSIAMInstanceProfile_namePrefix
--- PASS: TestAccAWSIAMInstanceProfile_namePrefix (22.18s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	96.349s
```

* Update iam_instance_profile.html.markdown
2017-03-28 22:07:50 +03:00
..
alicloud provider alicloud:add new rds resource and some bugs fix (#12913) 2017-03-24 13:04:56 +02:00
archive
arukas provider/arukas: Increase timeout to 15mins & use standard helper (#12849) 2017-03-19 18:55:11 +00:00
atlas
aws provider/aws: Deprecate roles in favour of role in iam_instance_profile (#13130) 2017-03-28 22:07:50 +03:00
azure
azurerm Switching to a simpler ARM Template (#13043) 2017-03-24 18:34:40 +02:00
bitbucket
chef
circonus Add `consul` check type to `circonus_check` resource (#13030) 2017-03-24 15:05:19 -07:00
clc
cloudflare
cloudstack Add params zone_id to cloudstack ipaddress resource (#11306) 2017-03-21 12:02:38 +01:00
cobbler
consul Fix govet error in consul provider 2017-03-28 08:06:39 -07:00
datadog datadog: Fix incorrect schema of monitor for 'silenced' (#12720) 2017-03-15 15:01:49 +00:00
digitalocean provider/packet|digitalocean: Randomize the SSH Key acceptance tests (#13096) 2017-03-27 19:59:09 +03:00
dme
dns Convert dns data tests to acceptance tests 2017-03-17 12:07:29 -04:00
dnsimple Allow dnsimple_record.priority attribute to be set (#12843) 2017-03-18 13:04:48 +00:00
docker
dyn
external
fastly fix bool vs Compatibool ref used in flattenBackends (#12538) 2017-03-24 14:05:29 -05:00
github provider/github: add repository_webhook resource (#12924) 2017-03-23 11:21:45 +02:00
google provider/google: turn compute_instance_group.instances into a set (#12790) 2017-03-22 17:47:41 -07:00
grafana
heroku
icinga2
ignition ignition_filesystem: explicit option to create the filesystem (Fix #12152) (#12980) 2017-03-23 11:02:54 +02:00
influxdb
kubernetes provider/kubernetes: Fix sorting of the PatchOperations (#13117) 2017-03-28 13:03:26 +01:00
librato librato: Work around eventual consistency of the API (#12816) 2017-03-17 16:52:38 +00:00
logentries
mailgun
mysql MySQL Provider does not recreate user if user got deleted manually in MySQL (#12791) 2017-03-18 13:15:01 +00:00
newrelic
nomad
ns1 provider/ns1: Ensure provider checks for credentials (#12920) 2017-03-23 12:00:56 +02:00
null
openstack provider/openstack: Resolve issues with Port Fixed IPs (#13056) 2017-03-27 20:22:56 +03:00
opsgenie
packet provider/packet|digitalocean: Randomize the SSH Key acceptance tests (#13096) 2017-03-27 19:59:09 +03:00
pagerduty provider/pagerduty: Validate credentials (#12854) 2017-03-19 17:37:46 +00:00
postgresql
powerdns
profitbricks Handling missing resources (#13053) 2017-03-25 22:43:41 +02:00
rabbitmq
rancher Rancher: error when no api_url is provided (#13086) 2017-03-28 12:18:03 +03:00
random random_pet resource (#12903) 2017-03-27 12:50:39 +03:00
rundeck
scaleway provider/scaleway: work around parallel request limitation (#13045) 2017-03-27 13:00:11 +03:00
softlayer
spotinst
statuscake
template
terraform
test
tls
triton
ultradns
vault
vcd
vsphere provider/vsphere: Randomize the vsphere_virtual_disk acceptance test 2017-03-27 18:09:12 +03:00