Martin Atkins
0b85d35e87
Rename base64enc/dec to encode/decode.
...
There isn't any precedent for abbreviating words in the interpolation
function names, and it may not be clear to all users what "enc" and "dec"
are short for, so instead we'll prefer to spell out the whole words for
improved readability.
2015-10-03 15:12:51 -07:00
Martin Atkins
c3d15a2336
Docs for base64 interpolation functions.
2015-10-03 14:49:50 -07:00
Paul Hinze
cdcef1c852
Merge pull request #2704 from thegedge/add-index-function
...
Add a function to find the index of an element in a list.
2015-08-12 17:07:49 -05:00
Clint
c5e8da2925
Merge pull request #2601 from nathanielks/feature/docs-environment-variables
...
Added page documenting useful Environment Variables
2015-08-12 13:54:55 -05:00
Clint
d74ea5d472
Merge pull request #2933 from hashicorp/docs-math-interpolation
...
More details about math in interpolation
2015-08-12 13:49:58 -05:00
Clint Shryock
13e50e684c
Document that create_before_destroy cannot depend on resources that are not also create_before_destroy
2015-08-05 11:59:08 -05:00
Cameron Stokes
30d57bf1ec
Clarify math operations available for interpolation
...
As reported in #2782 , the math operations, specifically subtraction,
can cause unexpected behavior when resource or variable names use hyphens.
I added clarification about using spaces with math operators as well as
which operations are available.
2015-08-04 11:09:43 -07:00
Paul Hinze
2cea7c7d0c
docs: clarify template_file path information
...
- change example to use the most commonly necessary path format w/
`path.module`
- link to path variable page in description
/cc @KFishner
2015-07-31 11:44:07 -05:00
Jason Gedge
cf5926ddad
Add a function to find the index of an element in a list.
2015-07-13 14:11:30 -04:00
Patrick Lee
80af6825fb
changed combine() to concat() in docs
...
The example of the concat() function uses combine() instead of concat().
2015-07-09 17:04:36 -06:00
Nathaniel Schweinberg
c29b4a9edd
adding more verbose description to Environment Variables page, explained TF_LOG more
2015-07-02 13:49:57 -05:00
Nathaniel Schweinberg
382cad03c2
Added page documenting useful Environment Variables
2015-07-01 21:38:25 -05:00
Jimmy Cuadra
94b11ed690
Fix wording in multi-provider resource docs
...
The sentence says that resources target a resource, but it should say that resources target providers.
2015-06-25 01:01:12 -07:00
Radek Simko
6a60fa4bfe
config: concat function supports lists (combines more lists into one)
2015-06-13 08:54:01 +01:00
ketzacoatl
9a0c733c18
Update interpolation.md, doc pattern combining template_file and count
...
This example is derived from @phinze's [work seen here](https://github.com/hashicorp/terraform/issues/1893#issuecomment-100945306 )
2015-05-29 18:24:08 +00:00
7heo
ff9b74c7e8
More internal links in template documentation.
2015-05-27 12:22:52 +02:00
Mitchell Hashimoto
0c9e95a32f
website: note that interpolations can be escaped
2015-05-13 20:22:14 -07:00
Josh Bleecher Snyder
02e751e356
config: add formatlist
...
formatlist distributes formatting over lists.
See the docs for details.
As a colleague commented:
"It happens all the time that we want a set of
outputs, but in a slightly different way than
just simple joining or concatting."
formatlist (combined with join)
makes it easy to satisfy those needs.
2015-05-12 16:11:42 -07:00
Paul Hinze
a268cc3d81
Merge pull request #1878 from jamesob/doc_for_paramterized_lists
...
Document work-arounds necessary to parameterize list types.
2015-05-08 17:02:36 -05:00
James O'Beirne
a074b33bcf
Document work-arounds necessary to parameterize list types.
...
Related to https://github.com/hashicorp/terraform/issues/57 .
2015-05-08 14:49:29 -07:00
Josh Bleecher Snyder
2da7c9a823
website: document templates
...
While we're here, fix a broken link.
2015-05-04 11:42:05 -07:00
Mitchell Hashimoto
316afd8964
website: update docs with environment variables for vars
2015-04-22 06:37:03 +02:00
Mitchell Hashimoto
45f73e640f
website: document multi-provider
2015-04-20 16:54:56 -07:00
Paul Hinze
e3a6fab501
Merge pull request #1566 from hashicorp/f-prevent-destroy
...
core: add prevent_destroy lifecycle flag
2015-04-17 11:01:19 -05:00
Paul Hinze
afe4abb637
core: add prevent_destroy lifecycle flag
...
When the `prevent_destroy` flag is set on a resource, any plan that
would destroy that resource instead returns an error. This has the
effect of preventing the resource from being unexpectedly destroyed by
Terraform until the flag is removed from the config.
2015-04-17 10:40:04 -05:00
Radek Simko
2078c593a2
conf: docs added for length func
2015-04-15 18:55:49 +01:00
Jon Topper
6e3675e2de
Fix minor error in index/count docs
2015-04-14 22:21:30 +02:00
Tomas Doran
2dfb837974
Document the fix to GH-1068 on the website
2015-04-03 15:51:12 +01:00
Mitchell Hashimoto
f857363aac
website: document push
2015-03-24 13:30:23 -07:00
Mitchell Hashimoto
bf43cabcc2
website: document format
2015-03-02 10:27:58 -08:00
Mitchell Hashimoto
68e4d346be
website: doc replace
2015-03-02 09:40:24 -08:00
Mitchell Hashimoto
e2c912c53d
website: update docs for self
2015-02-23 15:04:18 -08:00
Mitchell Hashimoto
45a267111b
Merge pull request #885 from brycekahle/split-func
...
config: add split function
2015-02-20 13:45:01 -08:00
Mitchell Hashimoto
3093268106
website: clarify lookup [GH-531]
2015-02-20 10:04:53 -08:00
Bryce Kahle
fa8280a56c
Add split docs
2015-02-17 13:24:34 -05:00
Anton Tereshchenkov
819bc2b032
docs: update available boolean values
2015-01-25 12:38:15 +08:00
Paul Hinze
dec0c467e1
docs: add example of using variables with count
...
closes #861
2015-01-24 18:29:36 -06:00
Emil Hessman
0cfbf4d8d9
website: use lists throughout the docs instead of array
2015-01-14 18:38:08 +01:00
Mitchell Hashimoto
577e2420b0
Revert "docs: consistent use of array configuration syntax"
...
This reverts commit 4893eb8b55
.
2015-01-14 09:28:25 -08:00
Emil Hessman
4893eb8b55
docs: consistent use of array configuration syntax
...
The Terraform configuration syntax defines what arrays are.
Use the word array consistently throughout the documentation
instead of list.
The corresponding JSON datatype is called array as well, and
since the Terraform configuration syntax is interoperable with
JSON it makes sense to use the term array to describe them.
2015-01-13 06:59:12 +01:00
Emil Hessman
28d39cd0bc
website: address spelling mistakes, casing and links
2015-01-03 19:31:53 +01:00
Rob Costanzo
8da91e9636
Added an element interpolation lookup function for accessing a specific index from a list with splat variables
2014-11-07 10:24:21 -08:00
Seth Vargo
073a0f76c5
Add meta descriptions to all pages
2014-10-21 23:21:56 -04:00
Mitchell Hashimoto
8aae8099e8
website: update the docs more to say more
2014-10-09 21:25:59 -07:00
Mitchell Hashimoto
f558f7a0c5
website: document the join function
2014-10-09 21:23:49 -07:00
Mitchell Hashimoto
770d62e588
website: document path variables
2014-10-07 20:15:08 -07:00
Mitchell Hashimoto
55ab043036
website: update docs for count.index
2014-10-02 22:11:53 -07:00
Mitchell Hashimoto
a621525741
Merge pull request #317 from hashicorp/f-create-before
...
Adding support for `lifecycle` and `create_before_destroy`
2014-09-30 13:17:41 -07:00
Spencer Krum
0f32eefb2b
Docs Fixup
2014-09-30 11:32:25 -07:00
Armon Dadgar
8d5d7c32c8
website: Document lifecycle
2014-09-29 15:20:03 -07:00