Commit Graph

143 Commits

Author SHA1 Message Date
Marc Tamsky ccb07f6e52 Explain list-type variables, and their use 2016-11-29 11:59:27 -08:00
Rubens Mariuzzo 3d41f3d836 Updated terraform output 2016-11-24 11:54:38 -04:00
niravradia b335418d0d Clarified variable order precedence doc line (#10307) 2016-11-23 10:57:48 +02:00
alexis-turpin f16309630e Update the PowerShell example to set the PATH (#9771)
`set PATH=%PATH%;C:\terraform` is the old fashioned CMD ways to do which doesn't work in a PowerShell command line.
Moreover, the change made in the CMD console would not be permanent.

The solution proposed here uses .NET Framework’s System.Environment class in PowerShell to properly edit the path.
Source : https://technet.microsoft.com/en-us/library/ff730964.aspx
2016-11-01 14:56:18 +00:00
Manoj 2e639cb506 Very minor fix in the docs (#9748) 2016-10-31 18:00:04 +00:00
James Turnbull 18b3736ba4 Pass over the Interpolation page (#9703)
* Pass over the Interpolation page

Fixes some grammar, typos and structure. Updated some headings and fixed
a couple of spelling mistakes.

* Added proper note syntax

* Turned some notes into actual notes

* Couple of minor typos just noticed
2016-10-29 01:13:09 +01:00
craigmonson d2eab5a760 Update variables.html.md (#9663)
Fixed a typo
2016-10-27 19:07:19 +01:00
Mark Maglana 5e037421b5 Fix the misuse of the word 'comprised' (#9603)
The proper use of "comprise" is "Array1 comprises item1, item2, and item3" 
which is equivalent to saying "Array1 is composed of item1, item2, and item3." 
That is, "comprises" is equivalent to "is composed of." Therefore, to say 
"Array1 is comprised of item1, item2, and item3" is equivalent to saying 
"Array1 IS IS COMPOSED OF OF item1, item2, and item3" which makes no
sense and is like "The La Trattoria" from Mickey Blue Eyes! This change fixes
the misuse of the word.
2016-10-25 18:22:15 +01:00
Anthony Elizondo 7807d687ab Update provision.html.md 2016-10-19 00:03:31 -04:00
James Turnbull 68b88f273e Some edits to the variables sections
1. Fixes a duplicate word.
2. Fixes a variety of formatting.
3. Re-structures variable assignment section.
4. Sets Notes to consistent style.
2016-10-18 04:35:39 +11:00
James Turnbull 9f27d4f042 Updated provisioning getting started
1. Updated some formatting.
2. Tidied the example a little to make it less clunky.
3. Rewrote some text to make things clearer.
2016-10-09 11:56:15 -04:00
James Turnbull 28cbd48cd3 Updated the examples (#9293)
1. Changed the `Example Contents` header to something more descriptive.
2. Minor edits for grammar and formatting.
2016-10-09 11:42:39 +02:00
Nick Walke 7e41cbfaf2
Added note about requiring a default VPC.
Fixes hashicorp/terraform#6427
2016-10-03 11:45:05 -05:00
Juan Carlos Alonso cab71c98cd Minor typos 2016-09-01 11:30:55 +01:00
Neil Calabroso f425472862 Update installation guide
Mention that there's only a single binary file in package as of 0.7.2
2016-08-27 16:14:36 +08:00
James Nugent 296071f259 Merge pull request #7964 from szollo/master
Update AMI ID on documentation
2016-08-22 05:39:11 +02:00
Stevie Zollo ace192c5cd Update AMI ID on documentation 2016-08-10 02:10:43 +01:00
Seth Vargo 4398304b93
Update links to serf 2016-08-08 12:42:46 -04:00
Kyle West c584287cf9 fix awkward wording of atlas token generation
Too many "to"s (and other prepositions) made this hard to skim.
2016-08-03 10:54:25 -04:00
Paul Hinze d50aeeef0d
website: Docs sweep for lists & maps 2016-07-28 15:49:53 -05:00
Paul Stack bef3b76c7a docs/intro: Change the location of Atlas User Tokens in Intro docs (#7822)
Fixes #5861
2016-07-27 01:06:23 +01:00
jonatanblue 9539b25966 Fix broken link to Consul demo (#7789)
* fixed broken link

* update one more link
2016-07-24 20:14:01 +01:00
Clint 42c68645af provider/aws: Update documentation to use t2.micro, provide Classic options (#6801)
* provider/aws: Update documentation to use t2.micro, provide Classic options
2016-05-20 16:19:01 -05:00
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
Ryan Wold 1d3ba5b2ef fix spelling 2016-03-09 17:10:16 -08: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
Heather fda24637c3 Fix trailing slash in Atlas Mindset URL
Was leading to a 404
2016-02-05 22:25:22 +00: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