terraform/builtin/providers
Paul Stack 74c0353231 provider/aws: Wait for aws_opsworks_instance to be running when it's specified (#13218)
Fixes: #9959

When we specify that we want an opsworks_instance state of running, we
should wait for that the be the case. This will then allow us to use the
Computed values (e.g. private_ip) etc and allow us to use provisioners
as part of the terraform config

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSOpsworksInstance'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/03/30 20:55:21 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSOpsworksInstance -timeout 120m
=== RUN   TestAccAWSOpsworksInstance_importBasic
--- PASS: TestAccAWSOpsworksInstance_importBasic (72.28s)
=== RUN   TestAccAWSOpsworksInstance
--- PASS: TestAccAWSOpsworksInstance (110.17s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	182.479s
```
2017-03-31 14:45:45 +03:00
..
alicloud
archive
arukas
atlas
aws provider/aws: Wait for aws_opsworks_instance to be running when it's specified (#13218) 2017-03-31 14:45:45 +03:00
azure
azurerm
bitbucket
chef
circonus
clc
cloudflare
cloudstack
cobbler
consul
datadog
digitalocean
dme
dns
dnsimple
docker
dyn
external
fastly
github
google
grafana
heroku
icinga2
ignition
influxdb
kubernetes
librato
logentries
mailgun
mysql
newrelic
nomad
ns1
null
openstack
opsgenie
packet
pagerduty
postgresql
powerdns
profitbricks
rabbitmq
rancher
random
rundeck
scaleway
softlayer
spotinst
statuscake
template
terraform
test
tls
triton provider/triton: Move to joyent/triton-go (#13225) 2017-03-31 01:25:27 +03:00
ultradns
vault
vcd
vsphere