Commit Graph

25719 Commits

Author SHA1 Message Date
Brian Flad d48d9ed766
lang/funcs: Add fileset function
Reference: https://github.com/hashicorp/terraform/issues/16697

Enumerates a set of regular file names from a given glob pattern. Implemented via the Go stdlib `path/filepath.Glob()` functionality. Notably, stdlib does not support `**` or `{}` extended patterns. See also: https://github.com/golang/go/issues/11862

To support the extended glob patterns, it will require adding a dependency on a third party library or adding our own matching code.
2019-08-20 04:50:01 -04:00
Radek Simko dee450cf8c
vendor: Bump go-azure-helpers to 0.7.0 2019-08-20 09:32:02 +01:00
Ben Drucker e8996e065e website: fix <ul> formatting in "taint" doc 2019-08-19 16:30:16 -07:00
Justin Campbell 273b668976
Merge pull request #22376 from hashicorp/registry-remove-provider-verified
registry/response: Remove unused verified bool
2019-08-19 09:57:23 -04:00
Yecheng Fu ee80499539 docs: install tools before building in docker environment (#19577)
* docs: install tools before building in docker environment

* Update README.md

Co-Authored-By: Kristin Laemmert <mildwonkey@users.noreply.github.com>
2019-08-19 08:13:27 -04:00
Martin Atkins 39b6a322e6 build: Use Go 1.12.9
This is a minor release of Go that does not include any changes that
affect Terraform's behavior.

This does include a fix for golang/go#31084 that could potentially affect
HCL arithmetic (via math/big) on aarch64, but we do not currently build
Terraform for aarch64 so it cannot have affected any previous releases.
2019-08-16 16:29:43 -07:00
Martin Atkins f6c6a88fe8 build: Use Go 1.12.8
This this includes some security fixes that don't impact Terraform along
with a number of general improvements and fixes in the Go toolchain that
don't appear to affect Terraform behavior.

- URL parsing (such as in the "source" argument in a "module" block) now
  validates more strictly the port portion, rejecting non-numeric ports.
  Previously this could potentially lead to parts of the URL being
  silently ignored.

- The temporary callback server for the forthcoming OAuth client
  implementation in "terraform login" would otherwise have been vulnerable
  to local (on the same host) denial of service attacks, which is not
  a common attack vector but good to fix anyway.
2019-08-16 16:29:43 -07:00
Nick Fagerlund 3aa909ac6e website: Update URLs and name references for Terraform Cloud rebrand
The Terraform Enterprise brand has now been split into two parts:

- Terraform Cloud is the application that helps teams use Terraform together,
  with remote state storage, a shared run environment, etc.
- Terraform Enterprise is the on-premise distribution that lets enterprises run
  a private instance of the Terraform Cloud application.

The former TFE docs have been split accordingly.
2019-08-16 15:55:29 -07:00
Nick Fagerlund d316ea08c5 website: Delete terraform push docs; replace with note about the remote backend
Now that the last private installs of legacy TFE have been upgraded, the push
era is over.
2019-08-16 15:55:29 -07:00
Nick Fagerlund 011e84f32f website: Update example command list for 0.12 2019-08-16 15:55:29 -07:00
Chris Griggs 74fcf436b0
Merge pull request #22485 from hashicorp/cgriggs01-mongodbatlas
[Website] MongoDB Atlas provider links
2019-08-16 15:23:30 -07:00
James Bardin 3e03213485
Merge pull request #22478 from hashicorp/jbardin/coerce-value
don't validate Min/Max block vals in CoerceValue
2019-08-16 15:58:53 -04:00
Pam Selle 1fecbbdfbd
Update CHANGELOG.md 2019-08-16 15:16:50 -04:00
Pam Selle e38d588cfc
Merge pull request #22314 from hashicorp/pselle/double-dynamic
Fix panic on double dynamic blocks
2019-08-16 15:15:50 -04:00
Hasan Ramezani f7b1ef876c command/workspace: Added `show` subcommand to workspace command help text. (#22367) 2019-08-16 11:47:00 -04:00
Roger Berlind 64dbba1229 website/docs: Add state commands to remote backend (#21276)
I tested that all state commands work with remote backend using Terraform 0.11.13.
2019-08-16 11:45:27 -04:00
Kaushik NP 0c0a0ff96e website/docs: Missing punctuation mark (#19072)
* Missing punctuation mark

Minor change

* Updated default values for easier reading 

As suggested by @radeksimko
2019-08-16 11:43:10 -04:00
Daniel Schroeder 628b50f900 configs/configupgrade: typo fix (#22469) 2019-08-16 10:38:38 -04:00
Kristin Laemmert b5508b9142
Update CHANGELOG.md 2019-08-16 08:32:48 -04:00
Kristin Laemmert c9d62bb2f6
command: discard output from flags package and return errs directly (#22373)
Any command using meta.defaultFlagSet *might* occasionally exit before
the flag package's output got written. This caused flag error messages
to get lost. This PR discards the flag package output in favor of
directly returning the error to the end user.
2019-08-16 08:31:21 -04:00
cgriggs01 ef1c1cf976 add new mongodb atlas provider links 2019-08-15 14:52:50 -07:00
Pam Selle 7938b2994e
Update CHANGELOG.md 2019-08-15 16:02:48 -04:00
Pam Selle 901ec990ed
Merge pull request #22156 from binlab/feature/bastion-ca-ssh
Add SSH certificate authentication method for connection via Bastion
2019-08-15 16:01:54 -04:00
Brian Flad 0d19465ada
Merge pull request #22318 from hashicorp/d-cli-quote-resource-addresses
docs: Additional for_each commands and resource addressing documentation
2019-08-15 10:03:44 -04:00
James Bardin 554cedab8a don't validate Min/Max block vals in CoerceValue
A provider may not have the data to fill in required block values in all
cases during the resource Read operation. This is more common in import,
because there is no initial configuration or state, and it's possible
some values are only provided in the configuration.

The original intent of MinItems and MaxItems in the schema was to
enforce configuration constraints, not to enforce what the resource
could save in the state.  Since the configuration is already statically
validated, and the Schema is validated against the configuration in a
separate step, we can drop these extra validation constraints in
CoerceValue and relax it to only ensure the types conform to what is
expected.
2019-08-15 10:02:39 -04:00
Kristin Laemmert 1442ff047d
website/docs: document providers schema output format (#22361)
* website/docs: document providers schema output format

* Update website/docs/commands/providers/schema.html.md

Co-Authored-By: Nick Fagerlund <nick@hashicorp.com>
2019-08-15 09:57:51 -04:00
Martin Atkins a66e293232
Update CHANGELOG.md 2019-08-13 15:28:08 -07:00
Roberto Jung Drebes b459a92575 backend/gcs: Use new endpoints for Google OAuth
This is a consequence of googleapis/google-cloud-common#260.
2019-08-13 15:24:34 -07:00
Pam Selle fcd4e9822f
Update CHANGELOG.md 2019-08-13 17:36:51 -04:00
Pam Selle 62f06aecf6
Update CHANGELOG.md 2019-08-13 17:36:25 -04:00
Pam Selle e2931763bf
Merge pull request #22454 from pselle/nokeymoregraph
Add edge when calculating for_each orphans
2019-08-13 17:35:20 -04:00
Pam Selle e6817f6319 Reordering, comment update 2019-08-13 17:22:14 -04:00
Pam Selle 15c557989f
Merge pull request #18082 from jbwyatt4/patch-1
Link to license is broken; now linked to local copy of MPL
2019-08-13 17:14:20 -04:00
Pam Selle 9631e4c73d
Merge pull request #20571 from sergkondr/fix_misspelling
fix misspelling
2019-08-13 17:13:13 -04:00
Pam Selle 3426060628
Merge pull request #22297 from dlamotte/patch-1
Properly end code block in upgrade docs
2019-08-13 17:11:38 -04:00
Pam Selle 6fd72eb136
Update CHANGELOG.md 2019-08-13 17:09:18 -04:00
Pam Selle 0b7019a098
Merge pull request #22428 from wata727/update-hcl2
Bump github.com/hashicorp/hcl2
2019-08-13 17:08:16 -04:00
Pam Selle 06e72c693f Add test 2019-08-13 16:31:07 -04:00
Luis Silva f9ee0021ac
Merge pull request #1 from kostas-theo/21680/GCS_OAUTH
Bump terraform version to 0.12.6
2019-08-13 21:08:00 +01:00
Kostas Theodorakopoulos 3f56a7f71f bump version 2019-08-13 20:22:54 +02:00
Pam Selle 6fae69f07b Creating the node would be nice 2019-08-13 10:38:52 -04:00
Pam Selle b9fa724273 Add edge 2019-08-13 10:24:26 -04:00
Pam Selle 3662dbc03d Ensure no key added to graph first 2019-08-13 10:10:36 -04:00
Radek Simko a933b44bc5
Update CHANGELOG.md 2019-08-12 20:20:57 +01:00
Radek Simko 98a796c3a3
Merge pull request #22272 from hashicorp/f-httpclient-ua
httpclient: Introduce composable UserAgent()
2019-08-12 20:20:03 +01:00
wata_mac f68d94b608 Bump github.com/hashicorp/hcl2 2019-08-11 16:43:12 +09:00
Martin Atkins a64707272c
.tfdev: remove platform build constraint
Terraform CLI should build for all of our standard targets.
2019-08-09 15:10:52 -07:00
Chris Griggs 987401518c
Merge pull request #22417 from hashicorp/cgriggs01-exoscale
[Website] Add Exoscale provider links
2019-08-09 12:54:53 -07:00
appilon 7f13fc0f5f
Merge pull request #22415 from hashicorp/appilon/swap-uuidv5
[vendor] remove satori/go.uuid in favor of google/uuid
2019-08-09 15:42:41 -04:00
cgriggs01 a037bb19f0 Add Exoscale provider links 2019-08-09 12:39:18 -07:00