backend/remote-state/gcs: Rename "gcloud" to "gcs" for backwards compatibility.
This commit is contained in:
parent
93a55f15e9
commit
c054bd0939
|
@ -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
|
||||
|
|
|
@ -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"
|
|
@ -1,4 +1,4 @@
|
|||
package gcloud
|
||||
package gcs
|
||||
|
||||
import (
|
||||
"fmt"
|
|
@ -1,4 +1,4 @@
|
|||
package gcloud
|
||||
package gcs
|
||||
|
||||
import (
|
||||
"testing"
|
|
@ -1,4 +1,4 @@
|
|||
package gcloud
|
||||
package gcs
|
||||
|
||||
import (
|
||||
"encoding/json"
|
Loading…
Reference in New Issue