Commit Graph

489 Commits

Author SHA1 Message Date
Mitchell Hashimoto 3ff66b430f providers/aws: check VPC cidr 2014-07-10 13:49:28 -07:00
Jack Pearkes e992d62717 providers/aws: use precheck for security group 2014-07-10 16:43:03 -04:00
Jack Pearkes 2e767da3df providers/aws: security group acceptance tests 2014-07-10 16:40:14 -04:00
Mitchell Hashimoto ac0e29e98e terraform: races in MockResourceProvider 2014-07-10 13:38:04 -07:00
Mitchell Hashimoto 9c9f478811 terraform: remove data race around validation 2014-07-10 13:36:06 -07:00
Mitchell Hashimoto d257d3623f testrace won't run acceptance tests 2014-07-10 13:33:57 -07:00
Mitchell Hashimoto 485bc668bf flatmap: deterministic tests 2014-07-10 13:32:16 -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 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