backend/remote-state/gcs: Rename "gcloud" to "gcs" for backwards compatibility.

This commit is contained in:
Florian Forster 2017-09-08 16:11:41 +02:00 committed by James Bardin
parent 93a55f15e9
commit c054bd0939
5 changed files with 7 additions and 7 deletions

View File

@ -14,7 +14,7 @@ import (
backendAzure "github.com/hashicorp/terraform/backend/remote-state/azure"
backendconsul "github.com/hashicorp/terraform/backend/remote-state/consul"
backendetcdv3 "github.com/hashicorp/terraform/backend/remote-state/etcdv3"
backendGCloud "github.com/hashicorp/terraform/backend/remote-state/gcloud"
backendGCS "github.com/hashicorp/terraform/backend/remote-state/gcs"
backendinmem "github.com/hashicorp/terraform/backend/remote-state/inmem"
backendS3 "github.com/hashicorp/terraform/backend/remote-state/s3"
backendSwift "github.com/hashicorp/terraform/backend/remote-state/swift"
@ -48,7 +48,7 @@ func init() {
`Warning: "azure" name is deprecated, please use "azurerm"`),
"azurerm": func() backend.Backend { return backendAzure.New() },
"etcdv3": func() backend.Backend { return backendetcdv3.New() },
"gcloud": func() backend.Backend { return backendGCloud.New() },
"gcs": func() backend.Backend { return backendGCS.New() },
}
// Add the legacy remote backends that haven't yet been convertd to

View File

@ -1,5 +1,5 @@
// Package gcloud implements remote storage of state on Google Cloud Storage (GCS).
package gcloud
// Package gcs implements remote storage of state on Google Cloud Storage (GCS).
package gcs
import (
"context"

View File

@ -1,4 +1,4 @@
package gcloud
package gcs
import (
"fmt"

View File

@ -1,4 +1,4 @@
package gcloud
package gcs
import (
"testing"

View File

@ -1,4 +1,4 @@
package gcloud
package gcs
import (
"encoding/json"