Commit Graph

22007 Commits

Author SHA1 Message Date
Dave Wongillies 9190227bc0 Fix description for state mv and push sub-commands 2018-09-04 19:16:47 -07:00
Oleg Butuzov 2ac15fdae4 command: Fix inconsistent spacing in "terraform push -help"
Fixes #18775
2018-09-04 18:47:46 -07:00
Chris Griggs 25a310448f
Merge pull request #18776 from cgriggs01/master
add HuaweiCloud link
2018-08-31 14:55:29 -07:00
HashiBook1000 d9823d7c8b add HuaweiCloud link 2018-08-31 14:40:42 -07:00
Sander van Harmelen 3cfc83e335 backend/remote: take working directories into account
In TFE you can configure a workspace to use a custom working directory. When determining which directory that needs to be uploaded to TFE, this working directory should be taken into account to make sure we are uploading the correct root directory for the workspace.
2018-08-31 20:35:16 +02:00
Sander van Harmelen b70ac3d924
Update CHANGELOG.md 2018-08-30 11:53:02 +02:00
Sander van Harmelen ce2869dced
Merge pull request #18760 from hashicorp/f-remote-backend
backend/migrations: migrate the default state
2018-08-30 11:16:25 +02:00
Sander van Harmelen b591cb6363
Merge pull request #18759 from hashicorp/b-terraform-remote-state
terraform/terraform_remote_state: accept complex configs
2018-08-30 11:16:06 +02:00
Sander van Harmelen f410a5bb26 backend/migrations: migrate the default state
Certain backends (currently only the `remote` backend) do not support using both the default and named workspaces at the same time.

To make the migration easier for users that currently use both types of workspaces, this commit adds logic to ask the user for a new workspace name during the migration process.
2018-08-29 21:37:39 +02:00
Sander van Harmelen 77b9fad7f0 backend/manta: deprecate camelcase attribute name
This change is needed (next to making it consistent as its the only attribute name that uses camelcase) because passing that attribute objectName in the update `terraform_remote_state` resource, ended up giving me this error: https://github.com/hashicorp/terraform/blob/master/helper/schema/schema.go#L736
2018-08-29 20:22:04 +02:00
Sander van Harmelen 3e935c846f terraform/terraform_remote_state: accept complex configs
The `remote` backend config contains an attribute that is defined as a `*schema.Set`, but currently only `string` values are accepted as the `config` attribute is defined as a `schema.TypeMap`.

Additionally the `b.Validate()` method wasn’t called to prevent a possible panic in case of unexpected configurations being passed to `b.Configure()`.

This commit is a bit of a hack to be able to support this in the 0.11 series. The 0.12 series will have proper support, so when merging 0.12 this should be reverted again.
2018-08-29 20:21:47 +02:00
Sander van Harmelen 4d9a284114
Merge pull request #18757 from hashicorp/b-check-all-workspaces
backend/migrations: check all workspaces
2018-08-29 20:01:11 +02:00
Sander van Harmelen 1696ade924 backend/migrations: check all workspaces
This commit fixes a bug that (in the case of the `local` backend) would only check if the selected workspace had a state when deciding to preform a migration.

When the selected workspace didn’t have a state (but other existing workspace(s) did), the migration would not be preformed and the other workspaces would be ignored.
2018-08-29 19:45:35 +02:00
Paul Hinze cf8516287e
website: Classify remote backends as a preview release 2018-08-24 17:10:46 -05:00
Nick Fagerlund 31bd4a0d5a
Merge pull request #18735 from hashicorp/armchairlinguist/ptfe-remote-update
PTFE not ready for use with this remote version
2018-08-24 13:38:39 -07:00
Alexis Grant 6e5259911e
PTFE not ready for use with this remote version 2018-08-24 13:10:28 -07:00
Nick Fagerlund 4612a71414 website: revise docs for remote backend and credentials config 2018-08-22 14:30:23 -07:00
Kristin Laemmert 313108201d
Merge pull request #18707 from plmwong/patch-2
website: Correction of spelling for 'Keboola' provider
2018-08-20 07:44:34 -07:00
Phillip Wong 6b89588154
Correction of spelling for 'Keboola' provider
I also switched it around with the Kafka link to preserve the alphabetical ordering of the page.
2018-08-18 08:41:59 -07:00
Paul Hinze 785188983a
Merge pull request #18706 from hashicorp/d-core-workflow-guide
Initial draft of Core Workflow Guide
2018-08-17 17:51:55 -05:00
Paul Hinze 6cdc464341
Initial draft of Core Workflow Guide 2018-08-17 17:18:53 -05:00
Chris Griggs 1609a5cca4
Merge pull request #18703 from cgriggs01/master
Website: Add community providers, remove Atlas links
2018-08-17 12:59:55 -07:00
HashiBook1000 c612953a72 add community providers, remove Atlas links 2018-08-17 11:33:09 -07:00
Paul Tyng d0fec98833
Merge pull request #18647 from hashicorp/paultyng-patch-1
Clarifying the language around "root outputs"
2018-08-17 09:27:05 -04:00
Paul Tyng 44539be8a4
Merge pull request #18695 from hashicorp/paultyng-patch-2
Fix typo in comment
2018-08-17 09:25:10 -04:00
Paul Tyng 74eae6825a
Fix typo in comment 2018-08-16 16:29:29 -04:00
Kristin 23ccd95b13 release: clean up after v0.11.8 2018-08-15 22:26:06 +00:00
Kristin Laemmert 6dfc4d748d v0.11.8 2018-08-15 22:16:04 +00:00
Brian Flad 798162125b helper/resource: Add ParallelTest() function to allow opt-in acceptance testing concurrency with t.Parallel()
While this initial implementation is a very simple wrapper function, implementing this in the helper/resource package provides some downstream benefits:
* Provides a standard interface for plugin developers to enable parallel acceptance testing
* Existing plugins can simply convert resource.Test to resource.ParallelTest references (as appropriate) to enable the functionality, rather than worrying about additional line(s) to each acceptance test function or TestCase
* Potential enhancements to ParallelTest (e.g. adding an environment variable to skip enabling the behavior) are consistently propagated
2018-08-15 15:00:27 -04:00
Chris Griggs 4c08bf8b43
Merge pull request #18676 from cgriggs01/master
Adding TFE v2 provider links
2018-08-14 14:56:30 -07:00
Chris Griggs 4bbf303f72
Update infra-index.html.markdown 2018-08-14 14:00:06 -07:00
HashiBook1000 3a75b28626 swap tfe v2 links with Atlas 2018-08-14 13:35:37 -07:00
Paddy fa4ed913e8
Merge pull request #18648 from danawillow/transport
pretty-print json in http requests/responses
2018-08-13 13:01:52 -07:00
Martin Atkins c97de0b526 Separate issue templates for Bugs vs. Features
Here our prior existing single template becomes the "Bug report" template,
and we introduce a second "Feature request" template that is more
appropriate for gathering context about a feature request.
2018-08-13 08:13:03 -07:00
Sander van Harmelen bb37637a13
Merge pull request #18642 from hashicorp/f-remote-backend
backend/remote: do not use the TFE_TOKEN env variable
2018-08-10 20:32:07 +02:00
Sander van Harmelen 7049d973a9 Do not use the TFE_TOKEN env variable
Instead promote the use of shared credentials using the CLI Config File
2018-08-10 20:20:16 +02:00
Chris Griggs e5e297ce9c
Merge pull request #18615 from cgriggs01/update-master-website
update master branch with provider links
2018-08-09 13:32:08 -07:00
HashiBook1000 f568a535c9 quick fix 2018-08-09 13:20:35 -07:00
HashiBook1000 fc6671e191 fix ACME link and add community providers 2018-08-09 13:16:34 -07:00
Dana Hoffman 40225061b4 pretty-print json in http requests/responses 2018-08-09 12:27:58 -07:00
Martin Atkins 35d47201ad
Update CHANGELOG.md 2018-08-09 11:37:35 -07:00
Paul Tyng 22bdc44cb1
Clarifying the language around "root outputs" 2018-08-09 13:20:45 -04:00
Chris Griggs 7913b96d4c
Replace missing link 2018-08-07 10:22:02 -07:00
HashiBook1000 8042a96ff7 update master with provider links 2018-08-06 16:14:37 -07:00
Sander van Harmelen c0793c84fd
Merge pull request #18604 from hashicorp/svh/f-remote-backend
backend/remote: use schema max/min items options
2018-08-06 21:02:07 +02:00
Sander van Harmelen 83d5f4147b backend/remote: use schema max/min items options 2018-08-05 15:30:27 +02:00
Sander van Harmelen 80aa068056
Update CHANGELOG.md 2018-08-03 22:57:36 +02:00
Sander van Harmelen f4da82a023
Merge pull request #18596 from hashicorp/svh/f-remote-backend
backend/remote: add a new backend for storing state and running operations remotely
2018-08-03 22:49:01 +02:00
Sander van Harmelen 7fb2d1b8de Implement the Enterprise enhanced remote backend 2018-08-03 22:22:55 +02:00
Sander van Harmelen 179b32d426 Add a `CredentialsForHost` method to disco.Disco
By adding this method you now only have to pass a `*disco.Disco` object around in order to do discovery and use any configured credentials for the discovered hosts.

Of course you can also still pass around both a `*disco.Disco` and a `auth.CredentialsSource` object if there is a need or a reason for that!
2018-08-03 11:29:11 +02:00