Commit Graph

21 Commits

Author SHA1 Message Date
James Nugent e57a399d71 core: Use native HIL maps instead of flatmaps
This changes the representation of maps in the interpolator from the
dotted flatmap form of a string variable named "var.variablename.key"
per map element to use native HIL maps instead.

This involves porting some of the interpolation functions in order to
keep the tests green, and adding support for map outputs.

There is one backwards incompatibility: as a result of an implementation
detail of maps, one could access an indexed map variable using the
syntax "${var.variablename.key}".

This is no longer possible - instead HIL native syntax -
"${var.variablename["key"]}" must be used. This was previously
documented, (though not heavily used) so it must be noted as a backward
compatibility issue for Terraform 0.7.
2016-05-10 14:49:13 -04:00
James Nugent 3900c3f086 docs: Clarify wording of which variables prompt 2016-05-08 19:38:35 -04:00
arsdehnel 61c7cf9457 Change in CLI behavior
Just wanted to call out that the CLI prompts for values for unset variables instead of an error.  Guessing that was an enhancement somewhere along the line and just didn't get updated in the docs.
2016-05-07 20:52:06 -05:00
timmy_tofu affbe9bffa Changes AMI to be non-hvm, matching the one used in earlier pages 2016-01-11 17:04:17 -06:00
timmy_tofu c5950225d5 Changes (inconsistently used) t2.micro back to t1.micro - t2.micro is VPC only and thus will cause problems for users with a default VPC (e.g. people who signed up for AWS a few years ago) 2016-01-11 00:16:46 -05:00
clint shryock f0ceb7fb9d update docs for updated us-east AMIs 2015-12-11 10:07:06 -06:00
Joe Gross a727b0c415 add closing quote 2015-11-06 19:02:05 -08:00
Shani Elharrar 9a6f680eda Updated note about variable files 2015-10-10 17:25:44 -07:00
Paul Hinze b4ca04cb78 docs: expand how to assign mappings from file 2015-07-01 13:11:21 -05:00
Mitchell Hashimoto 316afd8964 website: update docs with environment variables for vars 2015-04-22 06:37:03 +02:00
Emil Hessman 28d39cd0bc website: address spelling mistakes, casing and links 2015-01-03 19:31:53 +01:00
Alan LaMielle c6bf21baf0 Update variables.html.md
Fixes typo: s/anythiing/anything
2014-11-22 17:55:20 -08:00
Seth Vargo 073a0f76c5 Add meta descriptions to all pages 2014-10-21 23:21:56 -04:00
Mitchell Hashimoto 9ccc8aebf1 website: update getting started guide for TF 0.3 features 2014-10-13 11:57:43 -07:00
Ben Smith 597a3bfddd small typo 2014-09-09 14:29:05 -07:00
Mitchell Hashimoto 3cf4f57fe8 website: update docs for new mappings format 2014-08-30 16:20:45 -07:00
Alek Storm 697ba0ee99 Document that variable files can also be JSON, and clarify that terraform.tfvars is searched for in the *current* directory 2014-08-12 10:25:20 -07:00
Armon Dadgar 77071e4e9d website: typo. Fixes #68 2014-07-28 18:47:37 -04:00
Mitchell Hashimoto d28e5a1638 dos2unix 2014-07-28 10:43:00 -07:00
Armon Dadgar a4f7401458 website: Copy fixes 2014-07-27 15:30:31 -04:00
Mitchell Hashimoto 2dc48b59dc website: variables 2014-07-23 20:07:15 -07:00