Paul Hinze
b781c6c446
core: keys() and values() funcs for map variables
...
they work on maps with both keys and values that are string types, which
AFAICT are the only types of maps we have right now.
closes #1915
2015-06-02 16:49:51 -05:00
Mitchell Hashimoto
06beab6fd8
config: copy the key on Copy
2015-04-09 09:31:04 -07:00
Mitchell Hashimoto
b201983304
terraform: copy RawConfigs
2015-04-09 09:21:38 -07:00
Mitchell Hashimoto
5e25dc54a7
config: if any var is computed, the entire interpolation is computed
2015-02-27 22:47:43 -08:00
Mitchell Hashimoto
0a68576746
config: add RawConfig.Merge
2015-02-19 12:07:59 -08:00
Mitchell Hashimoto
2abeb2d9ac
config: use new API
2015-01-14 22:03:15 -08:00
Mitchell Hashimoto
8ae14f06b3
config: variables must be typed
2015-01-14 10:40:43 -08:00
Mitchell Hashimoto
4af4c9e16c
config: add lookup function back
2015-01-13 12:06:04 -08:00
Mitchell Hashimoto
1ccad4d729
config: convert fucntions, put functions into Scope
2015-01-13 11:50:44 -08:00
Mitchell Hashimoto
740c25d4ea
config: convert to config/lang
2015-01-13 10:27:57 -08:00
Mitchell Hashimoto
dd14303022
config: validate that count is an int
2014-10-02 16:51:20 -07:00
Mitchell Hashimoto
fa05b165ad
config: fix gob encode/decode for raw config and keys
2014-10-02 13:42:36 -07:00
Mitchell Hashimoto
8e2315599f
config: Count can be a string (for interpolation)
2014-10-02 11:14:50 -07:00
Mitchell Hashimoto
f26a2700a1
fmt
2014-08-22 08:46:03 -07:00
Mitchell Hashimoto
da2e221628
terraform: Interpolate if there are any interpolations [GH-159]
2014-08-21 15:05:56 -07:00
Mitchell Hashimoto
cabc007ec4
config: get rid of the variable*Walkers, replace with more generic
2014-07-21 11:45:56 -07:00
Mitchell Hashimoto
9d2e83d56d
config: Merge works properly
2014-07-20 17:17:03 -07:00
Mitchell Hashimoto
d2001275dc
terraform: initial Plan structure
...
This is REALLY heavy and would be really hard to maintain any sort
of compatibility with, but it is what we're going to do during dev
initially (if we don't ship with it) in order to just get stuff working.
2014-06-20 10:33:26 -07:00
Mitchell Hashimoto
69841c22e6
config: RawConfig.Config returns raw if no interpolate
2014-06-12 17:47:05 -07:00
Mitchell Hashimoto
6420e4bd81
config: reorder
2014-06-12 17:27:53 -07:00
Mitchell Hashimoto
e445f8db38
config: RawConfig works, plus tests
2014-06-12 17:24:55 -07:00
Mitchell Hashimoto
1af5aee146
config: remove unknown variable elements from the config
2014-06-12 16:40:53 -07:00