terraform/helper
Sander van Harmelen 133a40d77f Sets should init only once...
Currently the `sync.Once` call is only used to init a Set in the add()
func. So when you add a value to a Set that is the result of one of the
Set operations (i.e. union, difference, intersect) the Set will be
reinitialised and the exiting values will be lost.

I don’t have a clue why this is showing up in my ACC tests just now, as
this code is in there for quite some time already. Somehow it seems to
have something to do with the refactoring of the helper/schema done
last week, as I cannot reproduce this with
47f02f80bc
2015-01-15 15:33:52 +01: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 helper/hashcode for generating hashcodes 2014-08-20 22:09:40 -07:00
multierror Fixed a ton of typos in docs and comments 2014-08-07 00:19:56 -07:00
resource helper/resource: RetryError for quitting quickly 2014-10-17 18:28:03 -07:00
schema Sets should init only once... 2015-01-15 15:33:52 +01:00
ssh helper/ssh: Cleanups 2014-10-13 12:48:06 -07: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.