Commit Graph

19382 Commits

Author SHA1 Message Date
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 01b58669b0 provisioners/local-exec: tests pass on Windows due to line-endings diff
/cc @armon
2014-07-10 13:09:09 -07:00
Mitchell Hashimoto 10146a79b1 Explicitly disable acceptance tests for make test 2014-07-10 13:06:04 -07:00
Mitchell Hashimoto d9dda40957 Merge pull request #16 from hashicorp/f-provisioners
Adding support for provisioners
2014-07-10 13:03:51 -07:00
Jack Pearkes 45d318f573 providers/aws: destroy for autoscaling and launch conf 2014-07-10 15:41:06 -04:00
Armon Dadgar 3e608ee8b9 terraform: Do not persist sensitive state 2014-07-10 12:01:26 -07:00
Mitchell Hashimoto 4a5fb8c0b9 Merge pull request #17 from hashicorp/f-acceptance
Acceptance Test Framework
2014-07-10 11:52:11 -07:00
Mitchell Hashimoto 701634ad5c Makefile 2014-07-10 11:43:32 -07:00
Mitchell Hashimoto 9d3adc07ca Add "testacc" target for easy acceptance testing 2014-07-10 11:41:18 -07:00
Armon Dadgar a79e222ae3 rpc: Cleanup imports 2014-07-10 11:38:57 -07:00
Armon Dadgar 7721caf867 provisioner/local-exec: Adding tests for Apply and Validate 2014-07-10 11:38:57 -07:00
Armon Dadgar 6ace8e12e5 provisioner/local-exec: Use interpolated values 2014-07-10 11:38:57 -07:00
Armon Dadgar 83c1ed438f terraform: Fix and test provisioner configs 2014-07-10 11:38:57 -07:00
Armon Dadgar c8bc5658ab terraform: Test that validate gets a config for provisioners 2014-07-10 11:38:57 -07:00
Armon Dadgar abd5977988 Update config test to handle provisioners 2014-07-10 11:38:57 -07:00
Armon Dadgar 2423d135ac terraform: Move the config initialization of provisioners 2014-07-10 11:38:57 -07:00
Armon Dadgar 1c4321a503 Setup provisioners for CLI 2014-07-10 11:38:57 -07:00
Armon Dadgar 9c49642b37 provisioner/local-exec: First pass 2014-07-10 11:38:56 -07:00
Armon Dadgar c952513aed rpc: Adding support for provisioners 2014-07-10 11:38:56 -07:00
Armon Dadgar 3849ca80ef plugin: Adding support for provisioners 2014-07-10 11:38:56 -07:00
Armon Dadgar cfc7b69bb1 terraform: Test provisioner apply 2014-07-10 11:38:56 -07:00
Armon Dadgar 03a20f072e terraform: Test Validation of provisioners 2014-07-10 11:38:56 -07:00
Armon Dadgar 87c3423fd4 terrform: Thread provisioner factory through Context 2014-07-10 11:38:56 -07:00
Armon Dadgar ee475e8178 terraform: Apply and Validate provisioners when walking 2014-07-10 11:38:56 -07:00
Armon Dadgar e8245f1a67 terraform: Testing graph construction with provisioners 2014-07-10 11:38:56 -07:00
Armon Dadgar 975ff45149 terraform: Adding mock resource provisioner 2014-07-10 11:38:56 -07:00
Armon Dadgar 9fc6413775 terraform: Ignore orphans in provisioner setup 2014-07-10 11:38:56 -07:00
Armon Dadgar 8901a6753b terraform: Handle setup of providers in graph construction 2014-07-10 11:38:56 -07:00
Armon Dadgar b2758666eb terraform: Store resource config along side provisioner 2014-07-10 11:38:55 -07:00
Armon Dadgar 55124b9e28 terraform: Adding provisioners to a resource 2014-07-10 11:38:55 -07:00
Armon Dadgar d46ca67f92 terraform: Adding resource provisioner interface 2014-07-10 11:38:55 -07:00
Armon Dadgar 5a5f1df115 terraform: Adding ResourceConnectionInfo 2014-07-10 11:38:55 -07:00
Armon Dadgar 34e733724d config: Update test to handle count 2014-07-10 11:38:55 -07:00
Mitchell Hashimoto e250a6f36c config: understand "provisioner" blocks 2014-07-10 11:38:55 -07:00
Mitchell Hashimoto b3fd62beb0 providers/aws: basic VPC test 2014-07-10 11:31:16 -07:00
Mitchell Hashimoto bc146d21a3 helper/resource: persist state, log 2014-07-10 11:31:07 -07:00
Jack Pearkes 305994036d providers/aws: add createlaunchocnfiguration 2014-07-10 14:15:58 -04:00
Mitchell Hashimoto 3e4bdb5584 terraform: fix more cases where nil access can happen 2014-07-10 11:13:17 -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 3a79a1ca1a terraform: add ResourceProviderFactoryFixed 2014-07-10 09:46:21 -07:00
Mitchell Hashimoto 74f6e3fd9c Update TODO 2014-07-09 18:52:41 -07:00
Mitchell Hashimoto a98bcf5b06 providers/aws: create routes 2014-07-09 18:41:00 -07:00
Mitchell Hashimoto e8494826e9 providers/aws: don't merge diff early 2014-07-09 18:13:11 -07:00
Mitchell Hashimoto 05fabb02bd providers/aws: fix up the route table errors 2014-07-09 17:37:56 -07:00
Mitchell Hashimoto 9c93cfbf75 providers/aws: route tables maybe can make routes 2014-07-09 17:17:24 -07:00
Mitchell Hashimoto f0ff4fad74 flatmap: add Keys() and Merge() 2014-07-09 16:44:02 -07:00