terraform/helper
James Nugent 9476fc4418 helper/acctest: Add NewSSHKeyPair function (#12894)
Many cloud services prevent duplicate key pairs with different names.
Among them are Digital Ocean, Joyent Triton and Packet. Consequently, if
tests leave dangling resources it is not enough to simply randomise the
name, the entire key material must be regenerated.

This commit adds a helper method that returns a new randomly generated
key pair, where the public key material is formatted in OpenSSH
"authorized keys" format, and the private key material is PEM encoded.
2017-03-20 20:42:34 +00:00
..
acctest helper/acctest: Add NewSSHKeyPair function (#12894) 2017-03-20 20:42:34 +00:00
config
copy
diff helper/diff: handle unknownvariablevalue 2016-11-09 14:28:16 -08:00
encryption provider/aws: Extract helper/encryption library 2016-12-06 14:24:21 -06:00
experiment terraform: default shadow to false 2017-02-06 18:02:32 -08:00
hashcode
hilmapstructure
logging
mutexkv
pathorcontents
resource move TestReset mock from terraform to helper 2017-03-08 17:48:11 -05:00
schema Fix logic when skipping schema input 2017-03-17 14:55:24 -04:00
shadow helper/shadow: Close for auto-closing all values 2016-11-15 08:54:26 -08:00
signalwrapper
slowmessage helper/slowmessage 2017-02-14 09:27:23 -08:00
validation Fix typo in test method name (#10370) 2016-11-25 16:20:12 +00:00
variables command/init: backend-config accepts key=value pairs 2017-03-16 23:27:05 -07:00
wrappedreadline command: split out and tag code so compilation works on Solaris 2016-11-14 00:32:01 -08:00
wrappedstreams helper/wrappedstreams: get original console input/output on Windows 2016-11-21 10:44:01 -08:00
README.md

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.