terraform/helper
Paul Hinze 149e52ad1f helper/resource: verify refresh+plan after each step
I forgot to add `Computed: true` when I made the "key_name" field
optional in #1751.

This made the behavior:

 * Name generated in Create and set as ID
 * Follow up plan (without refresh) was nice and empty
 * During refresh, name gets cleared out on Read, causing a bad diff on
   subsequent plans

We can automatically catch bugs like this if we add yet another
verification step to our resource acceptance tests -> a post
Refresh+Plan that we verify is empty.

I left the non-refresh Plan verification in, because it's important that
_both_ of these are empty after an Apply.
2015-04-30 12:52:25 -05:00
..
config Fix failing tests 2014-10-09 21:29:21 -07:00
diff config: use new API 2015-01-14 22:03:15 -08:00
hashcode formatting, cleanups 2015-02-11 11:40:49 -08:00
multierror Fixed a ton of typos in docs and comments 2014-08-07 00:19:56 -07:00
resource helper/resource: verify refresh+plan after each step 2015-04-30 12:52:25 -05:00
schema Prevent negative hashcodes for all set operations. 2015-04-23 09:32:07 -07:00
ssh helper/ssh: add random number to script [GH-1545] 2015-04-18 16:09:08 -07:00
url helper/url: add Windows 'safe' URL Parse wrapper 2015-02-05 11:16:54 +01:00
README.md dos2unix 2014-07-28 10:43:00 -07:00

README.md

Helper Libraries

This folder contains helper libraries for Terraform plugins. A running joke is that this is "Terraform standard library" for plugins. The goal of the packages in this directory are to provide high-level helpers to make it easier to implement the various aspects of writing a plugin for Terraform.