Commit Graph

559 Commits

Author SHA1 Message Date
Mitchell Hashimoto 9d028ab6de config: reword for ".tf" extension force 2014-07-11 20:05:38 -07:00
Mitchell Hashimoto e0bc61d414 providers/aws: route table association tests 2014-07-11 13:10:09 -07:00
Mitchell Hashimoto 450cbba11a providers/aws: route table should delete any associations 2014-07-11 12:57:23 -07:00
Mitchell Hashimoto 2ed77c8a6f terraform: remove output diffs attributes from the Apply call 2014-07-11 12:00:41 -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 8d065ce5c4 terraform: don't validate orphans 2014-07-11 11:09:19 -07:00
Mitchell Hashimoto 6a3fa2f4db providers/aws: aws_route_table_association 2014-07-10 17:17:01 -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 9afebeb07e providers/aws: route table tests 2014-07-10 15:52:56 -07:00
Mitchell Hashimoto 265cc4fffa providers/aws: extend InternetGateway timeout to be safe 2014-07-10 15:35:41 -07:00
Mitchell Hashimoto 71b30c633f providers/aws: internetgateway timing tweaks
So I think the AWS API is just broken here. In the case that the state
doesn't update, just assume it did after 5 seconds.
2014-07-10 15:33:50 -07:00
Mitchell Hashimoto af776da7a2 providers/aws: subnet tests 2014-07-10 15:10:05 -07:00
Mitchell Hashimoto 86c4678bee providers/aws: test internet gateway changing the VPC addr 2014-07-10 14:51:23 -07:00
Mitchell Hashimoto 9ab4a5bf88 helper/resource: exponential backoff 2014-07-10 14:40:18 -07:00
Mitchell Hashimoto 17b0280724 providers/aws: InternetGateway has to define the update function 2014-07-10 14:24:36 -07:00
Mitchell Hashimoto 2d34f8f209 providers/aws: internet gateway acceptance test 2014-07-10 14:11:45 -07:00
Mitchell Hashimoto 63ef4cf28a helper/resource: stdlib to check resource attribute 2014-07-10 14:00:20 -07:00
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