Commit Graph

389 Commits

Author SHA1 Message Date
Mitchell Hashimoto 2ed77c8a6f terraform: remove output diffs attributes from the Apply call 2014-07-11 12:00:41 -07:00
Mitchell Hashimoto 8d065ce5c4 terraform: don't validate orphans 2014-07-11 11:09:19 -07:00
Mitchell Hashimoto 9c9f478811 terraform: remove data race around validation 2014-07-10 13:36:06 -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
Armon Dadgar 83c1ed438f terraform: Fix and test provisioner configs 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 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
Mitchell Hashimoto 3e4bdb5584 terraform: fix more cases where nil access can happen 2014-07-10 11:13:17 -07:00
Mitchell Hashimoto eda3cb009c terraform: make sure the "id" attribute is in the state 2014-07-08 17:15:41 -07:00
Mitchell Hashimoto 251790f05a terraform: add ID to diff implicitly 2014-07-08 16:58:31 -07:00
Mitchell Hashimoto 3318fe97dc terraform: ContextOpts can set a max parallelism 2014-07-08 11:42:03 -07:00
Mitchell Hashimoto 6a7e3668a2 command: apply saves state even if error occurs 2014-07-07 21:20:48 -07:00
Mitchell Hashimoto 5263306f1f terraform: more logging 2014-07-07 21:12:21 -07:00
Mitchell Hashimoto b0a83adea4 terraform: manually interpolate variables in walker functions
This avoids issues where we were interpolating when we didn't need to
2014-07-07 16:56:23 -07:00
Mitchell Hashimoto c96886edce terraform: Refresh should work on Context state 2014-07-07 16:22:09 -07:00
Mitchell Hashimoto 38b3734d12 terraform: don't refresh resources that aren't created 2014-07-07 16:19:25 -07:00
Mitchell Hashimoto b80e8364d0 terraform: fix potential nil access on graph 2014-07-07 15:38:25 -07:00
Mitchell Hashimoto 916eb5aaf3 terraform: copy before modifying struct in graphAddDiff
/cc @pearkes - Fixes the destroy bug
2014-07-07 12:53:39 -07:00
Mitchell Hashimoto 582d81ed03 terraform: converge on calculated variables rather than caching 2014-07-06 23:03:51 -07:00
Mitchell Hashimoto f1b4f7ad40 terraform: simplify internals, remove unused vars 2014-07-06 21:53:22 -07:00
Mitchell Hashimoto cc0c32d5ca terraform: test for single index access of counts 2014-07-06 14:09:44 -07:00
Mitchell Hashimoto a01d979c1b terraform: outputs work with multi-variables 2014-07-05 10:48:47 -07:00
Mitchell Hashimoto 4b5f5aec65 terraform: outputs are computed for the state 2014-07-04 15:36:28 -07:00
Mitchell Hashimoto c5a0b9cb40 terraform: test case for decreasing the count 2014-07-03 21:42:18 -07:00
Mitchell Hashimoto a616218d13 terraform: planning and applying multi-count resources tests 2014-07-03 21:24:17 -07:00
Mitchell Hashimoto 175e455999 terraform: add better logging 2014-07-03 12:32:00 -07:00
Mitchell Hashimoto ed57fe7083 terraform: ValidateResource is called 2014-07-03 12:30:51 -07:00
Mitchell Hashimoto 6508edaba9 terraform: Context.Validate checks ProviderConfig Validate 2014-07-03 12:17:56 -07:00
Mitchell Hashimoto a6ae7230d1 command: use new API 2014-07-03 11:46:40 -07:00
Mitchell Hashimoto adcd6486a2 terraform: Context doesn't need a sync.Cond 2014-07-03 11:33:45 -07:00
Mitchell Hashimoto 99757dc930 terraform: update state when refreshed 2014-07-03 11:30:16 -07:00
Mitchell Hashimoto 2b3855d5e2 terraform: make all actions cancellable in context 2014-07-03 11:28:47 -07:00
Mitchell Hashimoto 4ee6771d3a terraform: remove terraform.go 2014-07-03 11:28:04 -07:00
Mitchell Hashimoto 4f5f3a5502 terraform: Context.Stop 2014-07-03 11:27:30 -07:00
Mitchell Hashimoto 603ee36d92 terraform: Context.Apply 2014-07-03 11:04:04 -07:00
Mitchell Hashimoto 403876fff3 terraform: Context.Plan 2014-07-03 10:44:30 -07:00
Mitchell Hashimoto 2e10ddb878 terraform: Context.Refresh 2014-07-03 10:29:14 -07:00
Mitchell Hashimoto 947fa4e669 terraform: Context introduction 2014-07-03 10:14:17 -07:00