Removing dead code

This commit is contained in:
tombuildsstuff 2017-09-04 12:04:11 +01:00 committed by Martin Atkins
parent 1425205348
commit a10d23dd95
1 changed files with 10 additions and 10 deletions

View File

@ -17,66 +17,66 @@ import (
func New() backend.Backend {
s := &schema.Backend{
Schema: map[string]*schema.Schema{
"storage_account_name": &schema.Schema{
"storage_account_name": {
Type: schema.TypeString,
Required: true,
Description: "The name of the storage account.",
},
"container_name": &schema.Schema{
"container_name": {
Type: schema.TypeString,
Required: true,
Description: "The container name.",
},
"key": &schema.Schema{
"key": {
Type: schema.TypeString,
Required: true,
Description: "The blob key.",
},
"environment": &schema.Schema{
"environment": {
Type: schema.TypeString,
Optional: true,
Description: "The Azure cloud environment.",
Default: "",
},
"access_key": &schema.Schema{
"access_key": {
Type: schema.TypeString,
Optional: true,
Description: "The access key.",
DefaultFunc: schema.EnvDefaultFunc("ARM_ACCESS_KEY", ""),
},
"resource_group_name": &schema.Schema{
"resource_group_name": {
Type: schema.TypeString,
Optional: true,
Description: "The resource group name.",
},
"arm_subscription_id": &schema.Schema{
"arm_subscription_id": {
Type: schema.TypeString,
Optional: true,
Description: "The Subscription ID.",
DefaultFunc: schema.EnvDefaultFunc("ARM_SUBSCRIPTION_ID", ""),
},
"arm_client_id": &schema.Schema{
"arm_client_id": {
Type: schema.TypeString,
Optional: true,
Description: "The Client ID.",
DefaultFunc: schema.EnvDefaultFunc("ARM_CLIENT_ID", ""),
},
"arm_client_secret": &schema.Schema{
"arm_client_secret": {
Type: schema.TypeString,
Optional: true,
Description: "The Client Secret.",
DefaultFunc: schema.EnvDefaultFunc("ARM_CLIENT_SECRET", ""),
},
"arm_tenant_id": &schema.Schema{
"arm_tenant_id": {
Type: schema.TypeString,
Optional: true,
Description: "The Tenant ID.",