mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-09 11:38:29 +00:00
provider/google: gofmt
This commit is contained in:
parent
9fbfce3add
commit
8e4cd40c65
|
@ -16,9 +16,9 @@ import (
|
||||||
"google.golang.org/api/compute/v1"
|
"google.golang.org/api/compute/v1"
|
||||||
"google.golang.org/api/container/v1"
|
"google.golang.org/api/container/v1"
|
||||||
"google.golang.org/api/dns/v1"
|
"google.golang.org/api/dns/v1"
|
||||||
|
"google.golang.org/api/pubsub/v1"
|
||||||
"google.golang.org/api/sqladmin/v1beta4"
|
"google.golang.org/api/sqladmin/v1beta4"
|
||||||
"google.golang.org/api/storage/v1"
|
"google.golang.org/api/storage/v1"
|
||||||
"google.golang.org/api/pubsub/v1"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Config is the configuration structure used to instantiate the Google
|
// Config is the configuration structure used to instantiate the Google
|
||||||
|
|
|
@ -2,8 +2,8 @@ package google
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"google.golang.org/api/pubsub/v1"
|
|
||||||
"github.com/hashicorp/terraform/helper/schema"
|
"github.com/hashicorp/terraform/helper/schema"
|
||||||
|
"google.golang.org/api/pubsub/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
func resourcePubsubSubscription() *schema.Resource {
|
func resourcePubsubSubscription() *schema.Resource {
|
||||||
|
@ -52,7 +52,6 @@ func resourcePubsubSubscription() *schema.Resource {
|
||||||
Required: true,
|
Required: true,
|
||||||
ForceNew: true,
|
ForceNew: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -119,7 +118,6 @@ func resourcePubsubSubscriptionRead(d *schema.ResourceData, meta interface{}) er
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func resourcePubsubSubscriptionDelete(d *schema.ResourceData, meta interface{}) error {
|
func resourcePubsubSubscriptionDelete(d *schema.ResourceData, meta interface{}) error {
|
||||||
config := meta.(*Config)
|
config := meta.(*Config)
|
||||||
|
|
||||||
|
|
|
@ -71,4 +71,3 @@ resource "google_pubsub_subscription" "foobar_sub" {
|
||||||
name = "foobar_sub"
|
name = "foobar_sub"
|
||||||
topic = "${google_pubsub_topic.foobar_sub.name}"
|
topic = "${google_pubsub_topic.foobar_sub.name}"
|
||||||
}`
|
}`
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,8 @@ package google
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"google.golang.org/api/pubsub/v1"
|
|
||||||
"github.com/hashicorp/terraform/helper/schema"
|
"github.com/hashicorp/terraform/helper/schema"
|
||||||
|
"google.golang.org/api/pubsub/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
func resourcePubsubTopic() *schema.Resource {
|
func resourcePubsubTopic() *schema.Resource {
|
||||||
|
@ -18,7 +18,6 @@ func resourcePubsubTopic() *schema.Resource {
|
||||||
Required: true,
|
Required: true,
|
||||||
ForceNew: true,
|
ForceNew: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -53,7 +52,6 @@ func resourcePubsubTopicRead(d *schema.ResourceData, meta interface{}) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func resourcePubsubTopicDelete(d *schema.ResourceData, meta interface{}) error {
|
func resourcePubsubTopicDelete(d *schema.ResourceData, meta interface{}) error {
|
||||||
config := meta.(*Config)
|
config := meta.(*Config)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user