terraform/website/source/docs
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
..
backends website: clarify in legacy upgrade that we support k/v on init 2017-03-17 16:03:25 -07:00
commands website: clarify docs with partial config and k/v pairs 2017-03-16 23:33:26 -07:00
configuration Add `basename` and `dirname` functions 2017-03-28 09:29:26 -07:00
import provider/aws: Support Import of iam_server_certificate (#13065) 2017-03-27 18:49:11 +03:00
internals Update the docs to indicate that `TF_LOG_PLAN` is append now. 2016-10-18 13:10:15 -07:00
modules fixed modules docs typo (#13087) 2017-03-27 15:34:05 +03:00
plugins Updated Plugins section. (#8235) 2016-08-16 14:21:33 -05:00
providers provider/aws: Deprecate roles in favour of role in iam_instance_profile (#13130) 2017-03-28 22:07:50 +03:00
provisioners website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
state environment docs 2017-03-27 22:54:14 -04:00
index.html.markdown