terraform/helper/resource
Paul Hinze 4bd4e18def core: use same logging setup for acctests
We weren't doing any log setup for acceptance tests, which made it
difficult to wrangle log output in CI.

This moves the log setup functions we use in `main` over into a helper
package so we can use them for acceptance tests as well.

This means that acceptance tests will by default be a _lot_ quieter,
only printing out actual test output. Setting `TF_LOG=trace` will
restore the full prior noise level.

Only minor behavior change is to make `ioutil.Discard` the default
return value rather than a `nil` that needs to be checked for.
2015-12-08 17:50:36 -06:00
..
id.go helper: Add resource.PrefixedUniqueId 2015-06-30 12:54:54 +01:00
id_test.go helper/resource: add UniqueId() helper 2015-04-22 12:53:05 -05:00
map.go ResourceDiff => InstanceDiff 2014-09-17 16:33:24 -07:00
map_test.go helper/resource: automatically validate resources 2014-07-08 10:17:36 -07:00
resource.go ResourceDiff => InstanceDiff 2014-09-17 16:33:24 -07:00
state.go Better document StateChangeConf.WaitForState 2015-04-28 12:33:23 -04:00
state_test.go helper/resource: add Retry function 2014-10-07 21:44:51 -07:00
testing.go core: use same logging setup for acctests 2015-12-08 17:50:36 -06:00
testing_test.go helper/resource/testing: unit tests to cover #1770 2015-05-01 11:22:06 -05:00
wait.go helper/resource: RetryError for quitting quickly 2014-10-17 18:28:03 -07:00
wait_test.go helper/resource: RetryError for quitting quickly 2014-10-17 18:28:03 -07:00