Commit Graph

1126 Commits

Author SHA1 Message Date
Mitchell Hashimoto 660dc68a86 helper/schema: more tests 2014-08-15 10:39:40 -07:00
Mitchell Hashimoto d05b9d6193 helper/schema: can diff complex resource 2014-08-15 10:25:25 -07:00
Mitchell Hashimoto 878d844f5c helper/schema: comment 2014-08-14 23:33:30 -07:00
Mitchell Hashimoto 7f14708e71 helper/schema: list ForceNew 2014-08-14 23:32:20 -07:00
Mitchell Hashimoto 22e286ffd5 helper/schema: diff-ing lists at a basic level 2014-08-14 23:17:53 -07:00
Mitchell Hashimoto 46d911325a helper/schema: Bools and ints can decode 2014-08-14 20:02:52 -07:00
Mitchell Hashimoto efa2335886 helper/schema: start the Diff function 2014-08-14 19:55:47 -07:00
Mitchell Hashimoto 01b6b5f48e helper/schema: initial work 2014-08-13 14:23:22 -07:00
Alex Gaynor d578031831 Added a second test for the other form of tilde paths 2014-08-11 14:57:13 -07:00
Alex Gaynor e85b89d7fb Added a test and fixed a typo 2014-08-11 11:47:56 -07:00
Alex Gaynor 9d6e0e4e83 Fixes #179 -- expand ~'s in the path to a key file 2014-08-11 11:39:29 -07:00
Jack Pearkes 1244bff399 Merge pull request #162 from desimone/patch-3
Update communicator.go
2014-08-07 15:19:08 -04:00
bdd 462bbece95 Update communicator.go
If block ends in a return statement.  Personal preference. It's less explicit, but more concise to drop the else and outdent the return.
2014-08-07 14:29:02 -04:00
bdd 0cb0c412c3 Update communicator.go
typo
2014-08-07 14:19:08 -04:00
Mitchell Hashimoto 08c1a19cbf Merge pull request #161 from desimone/patch-2
helper/ssh: equivalent loop
2014-08-07 11:15:44 -07:00
bdd dbe946a97a Update communicator.go
Naming convention consistencies.
2014-08-07 13:53:18 -04:00
bdd b55ab5d5b4 Update password.go
Loop is equivalent.
2014-08-07 13:41:41 -04:00
bdd fd60ddaacd Update provisioner.go
Comment should be capitalized to match exported function "VerifySSH"
2014-08-07 13:19:03 -04:00
Alex Gaynor 46154ca1d3 Fixed a ton of typos in docs and comments 2014-08-07 00:19:56 -07:00
Mitchell Hashimoto a74775d077 helper/ssh: error if private key on SSH [GH-73] 2014-08-05 09:53:02 -07:00
Mitchell Hashimoto d28e5a1638 dos2unix 2014-07-28 10:43:00 -07:00
Mitchell Hashimoto b8660c2a65 helper/diff: ComputedAttrsUpdate 2014-07-24 20:25:00 -07:00
Mitchell Hashimoto c6474b3e5c terraform: more test cases 2014-07-22 08:27:16 -07:00
Mitchell Hashimoto d7ecc76148 helper/resource: refactor wait a bit and introduce delay/mintimeout 2014-07-17 11:03:30 -07:00
Mitchell Hashimoto c89e02c545 helper/diff: fix problems with PreProcess 2014-07-16 16:41:19 -07:00
Mitchell Hashimoto 2cfad3fa71 helper/diff: can specify PreProcess functions 2014-07-16 16:41:18 -07:00
Mitchell Hashimoto 9ec1990608 providers/aws/aws_instance: fix security group and key name issues in count 2014-07-16 15:21:01 -07:00
Mitchell Hashimoto e8eae17cc9 helper/config: clean up validation to work with nested items
/cc @pearkes
2014-07-16 15:08:35 -07:00
Armon Dadgar b84814539f Refactor shared SSH setup code 2014-07-16 10:33:44 -07:00
Armon Dadgar 2c3e619960 Removing unused constants 2014-07-16 10:33:44 -07:00
Armon Dadgar 8691a3ce91 Refactor helper methods out of provisioner 2014-07-16 10:33:44 -07:00
Armon Dadgar b56a7d6957 helper/ssh: Adding Connect function 2014-07-15 12:34:07 -07:00
Armon Dadgar 9ad4531d10 helper/ssh: Importing SSH stuff from Packer 2014-07-15 12:34:06 -07:00
Mitchell Hashimoto 35071f0328 helper/config: can validate array configurations 2014-07-14 18:22:05 -07:00
Mitchell Hashimoto f8b974c9aa helper/resource: never use an interval more than 10 seconds on wait 2014-07-14 13:28:48 -07:00
Mitchell Hashimoto 4f798fdec6 helper/diff: if attribute is set and also computed, don't mark computed 2014-07-11 11:46:21 -07:00
Mitchell Hashimoto f93c9c23d5 helper/diff: don't delete keys from diff if computed 2014-07-11 11:36:44 -07:00
Mitchell Hashimoto 91ad873113 helper/resource: improve logging and output for tests 2014-07-11 11:20:18 -07:00
Mitchell Hashimoto 0b2860fafc helper/config: more correct logic with regards to nested things 2014-07-10 17:05:40 -07:00
Mitchell Hashimoto dbe5a1254a helper/resource: better error if config doesn't validate 2014-07-10 17:01:21 -07:00
Mitchell Hashimoto 9ab4a5bf88 helper/resource: exponential backoff 2014-07-10 14:40:18 -07:00
Mitchell Hashimoto 63ef4cf28a helper/resource: stdlib to check resource attribute 2014-07-10 14:00:20 -07:00
Mitchell Hashimoto 4a3d51f40e helper/resource: can compose TestCheckFuncs 2014-07-10 13:29:38 -07:00
Mitchell Hashimoto 8229758806 helper/resource: refresh during test 2014-07-10 13:21:34 -07:00
Mitchell Hashimoto 83f73e63aa helper/resource: add PreCheck 2014-07-10 13:12:47 -07:00
Mitchell Hashimoto bc146d21a3 helper/resource: persist state, log 2014-07-10 11:31:07 -07:00
Mitchell Hashimoto be82499f3c helper/resource: remove debugging stuff 2014-07-10 10:31:06 -07:00
Mitchell Hashimoto 55c1bf7f79 helper/resource: more tests 2014-07-10 10:30:41 -07:00
Mitchell Hashimoto e0fbd48afd helper/resource: Acceptance test framework 2014-07-10 10:20:21 -07:00
Mitchell Hashimoto 96e09440d4 helper/diff: mark removed keys as removed 2014-07-09 09:51:36 -07:00
Mitchell Hashimoto 2d97738636 helper/diff: calculate removed keys 2014-07-09 09:47:21 -07:00
Mitchell Hashimoto fa3e9fab42 helper/resource: wait 2 seconds between each 2014-07-09 09:16:46 -07:00
Mitchell Hashimoto b700eee3e0 helper/diff: don't output ID anymore since Terraform does it 2014-07-08 16:59:58 -07:00
Mitchell Hashimoto 663be265dc helper/config: can validate nested structures
/cc @pearkes - See docs
2014-07-08 11:14:53 -07:00
Mitchell Hashimoto 7c588eca58 add readme to helper dir 2014-07-08 10:20:44 -07:00
Mitchell Hashimoto 0c812ba9e8 helper/resource: automatically validate resources
/cc @pearkes - So, just set a ConfigValidator struct up on your
resources and it'll now automatically validate.
2014-07-08 10:17:36 -07:00
Mitchell Hashimoto 50b8e761f1 helper/config: Validator
/cc @pearkes - Here is the beginning of that helper. It can't really validate
deeper keys (i.e. listeners in ELB), but my goal is for it to support that
soon. Working on it.
2014-07-08 10:02:02 -07:00
Mitchell Hashimoto f1d782031b helper/resource: don't assign to nil map 2014-07-07 20:45:09 -07:00
Mitchell Hashimoto 1c725896ca helper/resource: support waiting on absense of thing 2014-07-07 15:38:26 -07:00
Mitchell Hashimoto 8acd3a6373 helper/resource: set to valid ID 2014-07-07 15:06:17 -07:00
Mitchell Hashimoto 21539d08a8 helper/resource: add id to attributes 2014-07-07 15:00:13 -07:00
Mitchell Hashimoto 177f8c094d helper/diff: add ID to diff 2014-07-07 14:57:41 -07:00
Jack Pearkes 5ae69778a1 helper/resource: wait should return obj 2014-07-07 10:07:06 -04:00
Jack Pearkes eb7c8c07c8 helpers/resource: add wait helper 2014-07-07 10:07:06 -04:00
Mitchell Hashimoto 947fa4e669 terraform: Context introduction 2014-07-03 10:14:17 -07:00
Mitchell Hashimoto 6b42d3d9a5 helper/resource: basic tests 2014-07-02 17:36:07 -07:00
Mitchell Hashimoto cc9ef7a0d3 helper/resource: add UpdateFunc 2014-07-02 17:31:58 -07:00
Mitchell Hashimoto 37995e7ff8 helper/diff: work with complex data types 2014-07-01 16:06:06 -07:00
Mitchell Hashimoto b6a02e473d helper/resource: destroy on requiresNew 2014-06-25 18:41:40 -07:00
Mitchell Hashimoto e392c349ef helper/resource: clearer destroy logic 2014-06-24 12:59:50 -07:00
Mitchell Hashimoto cb591ab2df helper/resource: Destroy is called if destroy is set on diff 2014-06-24 12:55:59 -07:00
Mitchell Hashimoto d54034d0b5 helper/diff: comment 2014-06-24 10:33:03 -07:00
Mitchell Hashimoto bd0f23ce25 Move diff to helper/diff, helper/resource knows about it 2014-06-24 10:27:39 -07:00
Mitchell Hashimoto ae142efff7 providers/aws: know how to destroy things 2014-06-24 10:22:22 -07:00
Mitchell Hashimoto 543e70aab1 helper/resource: nice helper for resourceprovider impl 2014-06-23 19:32:49 -07:00
Mitchell Hashimoto c556e2ad48 providers/aws: start filling out 2014-06-23 19:01:57 -07:00