Commit Graph

2791 Commits

Author SHA1 Message Date
Mitchell Hashimoto cfb08b6c60 config: mark even index accesses as a multi-access 2014-07-06 13:56:18 -07:00
Mitchell Hashimoto aa6a758f6b config: if count > 1, variable references must have index
/cc @pearkes - Here is that validation
2014-07-06 13:46:56 -07:00
Mitchell Hashimoto dd8db83543 Update TODO 2014-07-05 10:55:30 -07:00
Mitchell Hashimoto 41eceedc4c Merge pull request #14 from hashicorp/f-outputs
Outputs
2014-07-05 10:55:16 -07:00
Mitchell Hashimoto a01d979c1b terraform: outputs work with multi-variables 2014-07-05 10:48:47 -07:00
Mitchell Hashimoto 07f98f7ee7 config: special detect ResourceVariables for multi-access 2014-07-05 10:34:52 -07:00
Mitchell Hashimoto 4b5f5aec65 terraform: outputs are computed for the state 2014-07-04 15:36:28 -07:00
Mitchell Hashimoto ed1860de61 config: validate output only has "value" field 2014-07-04 10:57:09 -07:00
Mitchell Hashimoto a4f38a3933 config: validate resource variables in output 2014-07-04 10:53:36 -07:00
Mitchell Hashimoto cc2bb950a1 config: can parse outputs 2014-07-04 10:43:06 -07:00
Mitchell Hashimoto b444f5a171 Update TODO 2014-07-03 21:59:23 -07:00
Mitchell Hashimoto 338bafc892 Merge pull request #13 from hashicorp/f-count
Count Meta-Parameter
2014-07-03 21:59:14 -07:00
Mitchell Hashimoto 3b3c9e140a terraform: tests for increasing count from 1 to > 1 2014-07-03 21:47:07 -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 ba144ef933 terraform: clean up root deps on the graph 2014-07-03 20:51:31 -07:00
Mitchell Hashimoto e7b7644cbf terraform: turn multi-counts into multiple nodes 2014-07-03 20:42:29 -07:00
Mitchell Hashimoto 5e79ddf7c6 config: detect variables in form of resource.name.*.blah 2014-07-03 20:41:26 -07:00
Mitchell Hashimoto 3337a625af config: support count meta-parameter 2014-07-03 20:11:58 -07:00
Mitchell Hashimoto 17074e5ae6 Update TODO 2014-07-03 13:15:20 -07:00
Mitchell Hashimoto 3decae513e Merge pull request #12 from hashicorp/f-semantics
Richer Validation, Semantic Checks, Core Refactor
2014-07-03 13:15:01 -07:00
Mitchell Hashimoto 43889a8c59 command: validate context 2014-07-03 13:12:45 -07:00
Mitchell Hashimoto 5dbfed31b6 providers/aws: compile 2014-07-03 13:06:24 -07:00
Mitchell Hashimoto 175e455999 terraform: add better logging 2014-07-03 12:32:00 -07:00
Mitchell Hashimoto 0298b47fd8 terraform: add happy path case for resource config 2014-07-03 12:31:26 -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 0e88867052 Compile 2014-07-03 12:01:20 -07:00
Mitchell Hashimoto 9183068489 rpc: tests and impl of latest API 2014-07-03 11:51:38 -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 9e41c6335b terraform: remove unused options for making a plan 2014-07-03 11:33:05 -07:00
Mitchell Hashimoto 51396f02c6 terraform: Plan.Context 2014-07-03 11:32:44 -07:00
Mitchell Hashimoto 99757dc930 terraform: update state when refreshed 2014-07-03 11:30:16 -07:00
Mitchell Hashimoto d4591c03cc terraform: remove unused function 2014-07-03 11:29:44 -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
Mitchell Hashimoto d23733263f command: validate configuration, test for it 2014-07-02 21:16:36 -07:00
Mitchell Hashimoto 78e056770c config: validate that resource references are valid 2014-07-02 21:06:26 -07:00
Mitchell Hashimoto 532cc33189 config: semantic check on variable references 2014-07-02 21:01:03 -07:00
Mitchell Hashimoto c8c7d6baa3 terraform: add some semantic check functions 2014-07-02 20:47:10 -07:00
Mitchell Hashimoto d0577fda02 terraform: add ValidateResource API to ResourceProvider 2014-07-02 20:35:03 -07:00
Mitchell Hashimoto 770d4e1e71 terraform: destroy should remove from state 2014-07-02 19:56:29 -07:00
Mitchell Hashimoto 5608175c13 command: fix build 2014-07-02 19:45:00 -07:00
Mitchell Hashimoto 6b42d3d9a5 helper/resource: basic tests 2014-07-02 17:36:07 -07:00