Commit Graph

24371 Commits

Author SHA1 Message Date
Dustin J. Mitchell 78090fcccc README: describe the "make tools" target 2018-07-03 09:33:31 -07:00
Martin Atkins 9441e78fb9 website: v0.12 preview upgrade guide tweaks
Based on some feedback on the initial draft, make some minor updates to
how information is presented in the preview upgrade guide for v0.12.

This also includes some minor copy-editing work to try to make the "voice"
more consistent between different sections of the guide.
2018-06-29 11:17:17 -07:00
Sander van Harmelen 9ba33e1958
Merge pull request #18360 from hashicorp/svh/b-close-body
svchost/disco: make sure to close the response body
2018-06-29 19:33:10 +02:00
Sander van Harmelen 2c0c3771a9 Make sure to close the response body
And fix a few linter warnings while we're at it…
2018-06-29 16:14:54 +02:00
Yevgeniy Brikman b44932d8fe website: Simplify the Getting Started consul module example
This module now gets the region from the inherited provider block.
2018-06-28 18:10:55 -07:00
James Bardin 32e3179de9
Merge pull request #18350 from KFishner/master
Add 0.12 upgrade guide
2018-06-28 11:47:11 -04:00
Martin Atkins 3ec17f7784
Update CHANGELOG.md 2018-06-26 15:21:03 -07:00
Borys Pierov c811440188 config: Don't log the private key on error in rsadecrypt 2018-06-26 15:19:37 -07:00
Kristin Laemmert a914ee3371
Merge pull request #18334 from hashicorp/kristin/b-test-err
cli: fix tests
2018-06-26 12:42:19 -07:00
Kristin Laemmert 33877bd579 cli: update tests 2018-06-26 11:57:52 -07:00
Martin Atkins d4ac68423c website: Tweak the language we use to describe remote state
After some discussion with "iamakulov" on Twitter it seems that the use
of the word "conflicts" and "merge conflicts" here was sounding like us
implicitly condoning the use of version control as a mechanism for
distributing local state files, which hasn't been recommended for quite
some time since remote state now provides a much more robust solution.

While here, I also tweaked some other language on this page for style and
for use of terminology we more commonly use in our more recent
documentation.
2018-06-26 11:43:36 -07:00
kfishner 6deec5d7bf add 0.12 guide 2018-06-25 17:26:45 -07:00
Thomas Kula e2373c8073 website: Using demo.consul.io requires scheme = "https"
Following the examples as they were previously would cause errors
accessing demo.consul.io. Now we consistently set the scheme to https for
all examples that use demo.consul.io.

This also includes some other updates to the URLs, since the Consul demo
has been rebuilt with a different based configuration, and some general
formatting and copyediting changes in the Consul example.
2018-06-22 10:18:27 -07:00
Kieran Spear fa5d9cc2ca website: Fix spelling mistake (#18311) 2018-06-22 07:31:23 -07:00
Chris Griggs c3267962da
Merge pull request #18278 from cgriggs01/master
Add AzureStack documentation links
2018-06-21 14:51:14 -07:00
Paddy ec998a21bc
Update CHANGELOG.md 2018-06-20 11:39:08 -07:00
Paddy d35fe516d8
Merge pull request #18286 from hashicorp/paddy_deprecate_resource
Export resource deprecation.
2018-06-20 11:37:55 -07:00
Paddy Carver b7d19e40f8 Deprecated -> DeprecationMessage.
At the Enablement team's request, change from using `Deprecated` to
`DeprecationMessage`, as it's a string value, not a boolean.
2018-06-20 11:21:46 -07:00
Kristin Laemmert cf409e1d72
Update CHANGELOG.md 2018-06-20 09:50:54 -07:00
Lyle Franklin 26b907387d cli: Remove error on empty outputs when `-json` is set (#11721)
- Fixes #11696
- This changes makes `terraform output -json` return '{}' instead of
  throwing an error about "no outputs defined"
- If `-json` is not set, the user will receive an error as before
  - This UX helps new users to understand how outputs are used
- Allows for easier automation of TF CLI as an empty set of outputs is
  usually acceptable, but any other error from `output` would be
  re-raised to the user.
2018-06-20 08:58:07 -07:00
Kristin Laemmert 21fe540a4f
Update CHANGELOG.md 2018-06-19 13:38:02 -07:00
Kristin Laemmert 85be12d783
cli: show workspace name in destroy confirmation (#18253)
* cli: show workspace name in destroy confirmation

If the workspace name is not "default", include it in the confirmation
message for `terraform destroy`.

Fixes #15480
2018-06-19 13:35:28 -07:00
Paddy Carver 0dd2408d65 Export resource deprecation.
We already had the functionality to make resources deprecated, which was
used when migrating resources to data sources, but the functionality was
unexported, so only the schema package could do it. Now it's exported,
meaning providers can mark entire resources as deprecated. I also added
a test in hopefully-the-right place?
2018-06-19 12:02:55 -07:00
Chris Griggs 3b2f747006
Update major-index.html.markdown 2018-06-19 11:54:25 -07:00
Chris Griggs ac27d7deb9
Update index.html.markdown 2018-06-19 11:54:07 -07:00
Chris 2e9aed6d2b Add AzureStack documentation links 2018-06-18 11:40:21 -07:00
kt b95f74956a
Merge pull request #17961 from hashicorp/f-HashInt
Add a HashInt helper/schema function
2018-06-18 09:25:17 -07:00
Quinn Diggity c943caf1a5 website: fix for typo in resources.html.md (#18266)
should be provides, not provies
2018-06-18 08:37:57 -07:00
Quinn Diggity b2df1d424f website: fixes typo (#18267)
should be maximum not maxiumum
2018-06-18 08:36:28 -07:00
Andre Bindewald de43f01d65 provisioner/local-exec: Support custom environment variables on Windows
Due to an incorrect slice allocation, the environment variable list was created with an empty string
element for each real element added.

It appears that this was silently ignored on Unix, but caused the following environment settings
to be ignored altogether on Windows.
2018-06-15 18:26:43 -07:00
Paddy ab6240afb0
Merge pull request #18247 from hashicorp/paddy_fix_run_api_links
Fix broken links to /docs/enterprise/run/api.html
2018-06-14 10:59:42 -07:00
Paddy 931f8ecc41 Fix broken links to /docs/enterprise/run/api.html
We had a couple broken links pointing to the docs for the run API. This
updates them to the new location.
2018-06-13 12:19:07 -07:00
Kristin Laemmert b8a1a77f6b
command: fix spelling in error message - fixes #18065 (#18241) 2018-06-13 06:57:32 -07:00
cabillman 3dc1ce3036 docs: Fix small error in resource targeting docs (#17890) 2018-06-11 12:34:25 -07:00
Peter Hoeg Steffensen 8a5cedaae6 Docs: syntax fix - Removed quotation marks (#18136)
The example for parsing multiple providers to a module had quotation marks around the keys. This does not seem to be the correct format
2018-06-11 12:08:23 -07:00
Jaye Doepke 596c7b2638 docs typo 2018-06-11 12:04:03 -07:00
SpencerBrown 3324de35b6 Fix typo in doc: "The support operators are" -> "The supported operators are" 2018-06-11 11:50:18 -07:00
Ben Turner 1de8d171ae Small typo fix 2018-06-11 11:47:54 -07:00
nicklathe e552897c52 Fix typo (wit -> with) for etcdv3 backend docs 2018-06-11 11:46:17 -07:00
Brian Cain 3c667240cd
Fix typo in version docs 2018-06-09 17:27:53 -07:00
Chris Griggs fce30c14f0
Merge pull request #18193 from cgriggs01/add-hcloud-core
add HetznerCloud provider links
2018-06-06 08:57:40 -07:00
Chris fba58d3a04 add provider documentation links 2018-06-05 16:09:30 -07:00
Chris Griggs ad259b2b95
Merge pull request #18161 from cgriggs01/d-add-flex
add flexibleengine provider documentation links
2018-06-01 10:27:47 -07:00
Chris f80aca5d98 add flexibleengine provider documentation links 2018-05-31 15:35:55 -07:00
Chris Griggs 6b6f02e48b
Merge pull request #18159 from cgriggs01/d-rm-runscope
remove runscope links
2018-05-31 12:58:28 -07:00
Chris c294fd7f1f remove runscope links 2018-05-31 11:22:56 -07:00
Chris Griggs bc90bfc368
Merge pull request #18141 from cgriggs01/stable-website
add runscope provider links
2018-05-30 10:13:47 -07:00
Chris fbb0c88c21 add runscope provider links 2018-05-29 16:18:33 -07:00
Chris Marchesi 3505769600
helper/resource: Add ability to pre-taint resources
This adds the Taint field to the acceptance testing framework, allowing
the ability to pre-taint resources at the beginning of a particular
TestStep. This can be useful for when an explicit ForceNew is required
for a specific resource for troubleshooting things like diff mismatches,
etc.

The field accepts resource addresses as a list of strings. To keep
things simple for the time being, only addresses in the root module are
accepted. If we ever want to expand this past that, I'd be almost
inclined to add some facilities to the core terraform package to help
translate actual module resource addresses (ie:
module.foo.module.bar.some_resource.baz) into the correct state, versus
the current convention in some acceptance testing facilities that take
the module address as a list of strings (ie: []string{"root", "foo",
"bar"}).
2018-05-25 07:52:49 -07:00
Alexis Grant 170a1530d1 website: Example of the Git+SSH protocol for bitbucket module sources 2018-05-24 15:32:19 -07:00