Commit Graph

63 Commits

Author SHA1 Message Date
Mitchell Hashimoto 6d9e41668f
website: basic docs on import 2016-05-18 12:57:03 -06:00
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
David Castillo 12118b6189 Fixed typos in remote.html.markdown and connection.html.markdown. (#6195) 2016-04-15 23:05:49 +01:00
Jonathan McCall 3cd6b29a76 Fix broken sentence regarding computed values 2016-03-25 10:34:47 -04:00
James Nugent 3eb0a95f53 Merge pull request #5466 from xbs13/patch-2
Fix Atlas tutorial steps for currently released version
2016-03-06 13:11:05 -06:00
f440 b7008babd7 Bring usage docs up to date 2016-03-05 19:25:16 +09:00
Michael Perez 9c3917f435 Update remote.html.markdown
these changes were added to reflect what was required to run the tutorial on my local machine. Below is my context for the above changes:
```shell
[2016-03-04T18:22:44] micperez in terraform_test  
λ terraform remote config -backend-config="name=puhrez/getting-started"
missing 'access_token' configuration or ATLAS_TOKEN environmental variable

If the error message above mentions requiring or modifying configuration
options, these are set using the `-backend-config` flag. Example:
-backend-config="name=foo" to set the `name` configuration
[2016-03-04T18:23:27] micperez in terraform_test  
λ export ATLAS_TOKEN=<REDACTED>
[2016-03-04T18:24:12] micperez in terraform_test  
λ terraform remote config -backend-config="name=puhrez/getting-started"
Remote state management enabled
Remote state configured and pulled.
[2016-03-04T18:24:16] micperez in terraform_test  
λ terraform push -name="puhrez/getting-started"
An error has occurred while archiving the module for uploading:
error detecting VCS: no VCS found for path: /Users/micperez/code/terraform_test
[2016-03-04T18:24:39] micperez in terraform_test  
λ git init
Initialized empty Git repository in /Users/micperez/code/terraform_test/.git/
[2016-03-04T18:25:09] micperez in terraform_test [git:master]  
λ terraform push -name="puhrez/getting-started"
An error has occurred while archiving the module for uploading:
error getting git commit: exit status 128
stdout: 
stderr: fatal: bad default revision 'HEAD'

[2016-03-04T18:25:12] micperez in terraform_test [git:master]  
λ git status
On branch master

Initial commit

Untracked files:
  (use "git add <file>..." to include in what will be committed)

	.terraform/
	example.tf
	terraform.tfstate.backup

nothing added to commit but untracked files present (use "git add" to track)
[2016-03-04T18:25:17] micperez in terraform_test [git:master]  
λ git add example.tf
[2016-03-04T18:25:24] micperez in terraform_test [git:master]  
λ git commit -m "init commit"
[master (root-commit) 34c4fa5] init commit
 1 file changed, 10 insertions(+)
 create mode 100644 example.tf
[2016-03-04T18:25:32] micperez in terraform_test [git:master]  
λ terraform push -name="puhrez/getting-started"
Uploading Terraform configuration...
Configuration "puhrez/getting-started" uploaded! (v1)
```
2016-03-04 18:42:32 -05:00
Paul Hinze e67fc0fe9b command: Change module-depth default to -1
This means that terraform commands like `plan`, `apply`, `show`, and
`graph` will expand all modules by default.

While modules-as-black-boxes is still very true in the conceptual design
of modules, feedback on this behavior has consistently suggested that
users would prefer to see more verbose output by default.

The `-module-depth` flag and env var are retained to allow output to be
optionally limited / summarized by these commands.
2016-01-20 13:58:02 -06:00
Seth Vargo 8dbc43639d Use HTTPS + www. for links 2016-01-14 16:03:26 -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
James Nugent 74152fb6db Revert "Update Build documentation to use t2.micro" 2016-01-04 11:44:22 -05:00
James Nugent c7573de75b Merge pull request #4458 from kevinlondon/patch-1
Update Build documentation to use t2.micro
2015-12-31 10:16:41 -05:00
Jordan bf7220aa53 Update outputs.html.md
Fixes small syntax error
2015-12-29 17:21:58 -07:00
Kevin London 9fb631a076 Update Build documentation to use t2.micro
This just helps it stay consistent across the doc.
2015-12-29 15:23:38 -08:00
Seth Bergman 47ea43394f Update install.html.markdown
Added example commands for setting environment paths in Linux/Unix and Windows.
2015-12-22 14:18:29 -06:00
clint shryock c94b7c4584 provider/aws: Update docs with t1 instance for accounts with EC2 Classic 2015-12-21 10:00:34 -06:00
clint shryock f0ceb7fb9d update docs for updated us-east AMIs 2015-12-11 10:07:06 -06:00
aboschke a7c8d0714e Trivial change for AWS upgraded T2 instance type and AMI ami-5189a661 2015-12-11 01:24:04 -08: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
Ben Wen d483409176 Getting Started: Added a Next Step upon finishing install. 2015-06-16 17:01:22 -07:00
Paul Hinze b8457bde32 docs: Clarify provider config in modules intro
closes #1693
2015-04-28 09:01:19 -05:00
Grégoire Pineau a6716cc1a4 [Doc] Fixed link 2015-04-27 15:00:38 +02:00
Mitchell Hashimoto af4396aa0d Merge pull request #1621 from hashicorp/f-envs
Set variables from env vars
2015-04-22 15:50:56 +02:00
Mitchell Hashimoto 316afd8964 website: update docs with environment variables for vars 2015-04-22 06:37:03 +02:00
Kevin Fishner b432db66d1 grammar fix 2015-04-20 15:41:46 -07:00
Kevin Fishner 0f61ac85de make collaboration more important 2015-04-20 15:32:59 -07:00
Kevin Fishner 5956e76552 utms 2015-04-20 14:45:54 -07:00
Kevin Fishner 3646da0aff add remote terraform to getting started 2015-04-19 21:56:03 -07:00
Spencer Nelson cacc7a5d6f Bring usage docs up to date 2015-03-24 12:06:09 -07:00
Jeremy Voorhis c4869ef3b1 Add missing preposition. 2015-02-13 21:46:40 -08:00
Jeremy Voorhis 729939f122 Fill in missing outputs in modules.html.md. 2015-02-13 21:27:54 -08: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
Chavez 25513f421f Modules documentation
* Re-iterate 'terraform get' in getting started for modules
2014-11-18 10:25:39 -08:00
Seth Vargo 9d3758abd8 Fix broken YAML 2014-10-22 17:47:44 -04:00
Seth Vargo 9ac9ab6706 Use the built-in alert helpers 2014-10-22 10:01:17 -04: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
Clint Shryock 8c7772885b Fix typo probably 2014-07-29 22:21:59 -05:00
Sébastien Fievet 6e38cab094 Typo 2014-07-29 12:23:25 +02:00
Armon Dadgar 77071e4e9d website: typo. Fixes #68 2014-07-28 18:47:37 -04:00
darron froese 1df50620d2 Fix what needs to be on the command line.
The information wasn't shown unless I put the path in directly.
2014-07-28 11:48:11 -07:00