Commit Graph

21664 Commits

Author SHA1 Message Date
Sander van Harmelen 7c1da2ffaa
Merge pull request #18818 from hashicorp/b-associate-state
backend/remote: add the run ID to associate state
2018-09-10 19:13:53 +02:00
Sander van Harmelen 5aac11a4cb
Merge pull request #18817 from hashicorp/b-workspaces
backend/remote: use pagination when retrieving workspaces
2018-09-10 19:06:40 +02:00
Sander van Harmelen cd6d75bc03 backend/remote: add the run ID to associate state
If a run ID is available, we need to make sure we pass that when creating a new state version so the state will be properly associated with the run.
2018-09-09 21:30:42 +02:00
Sander van Harmelen 3cc58813f0 backend/remote: use a search query and use pagination
To prevent making unnecessary heavy calls to the backend, we should use a search query to limit the result.

But even if we use a search query, we should still use the pagination details to make sure we retrieved all items.
2018-09-09 21:29:50 +02:00
Sander van Harmelen cd8fcf74e0
Merge pull request #18816 from hashicorp/f-update-deps
govendor: update `go-tfe`
2018-09-09 21:25:27 +02:00
Sander van Harmelen 62ab84a319 backend/remote: compat changes for latest `go-tfe` 2018-09-08 11:47:18 +02:00
Sander van Harmelen 65ec7f945a govendor: update `go-tfe` 2018-09-08 10:23:55 +02:00
Sander van Harmelen 7cfeffe36b
Merge pull request #18773 from hashicorp/b-working-directories
backend/remote: take working directories into account
2018-09-06 19:00:01 +02:00
Kristin Laemmert c886869a8c
Merge pull request #18792 from davewongillies/fix_state_docs
Docs: Fix description for state mv and push sub-commands
2018-09-05 09:37:30 -07:00
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
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