This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/cloudstack-terraform-provider.git
The following commit(s) were added to refs/heads/main by this push:
new e7a1160 code formatting (#5)
e7a1160 is described below
commit e7a11609f1278422ea43df7e5fc160f14d9e0837
Author: Harikrishna <[email protected]>
AuthorDate: Tue Oct 5 12:43:10 2021 +0530
code formatting (#5)
---
cloudstack/data_source_cloudstack_template.go | 2 +-
cloudstack/metadata.go | 2 +-
cloudstack/resource_cloudstack_affinity_group.go | 2 +-
cloudstack/resource_cloudstack_affinity_group_test.go | 2 +-
cloudstack/resource_cloudstack_autoscale_vm_profile.go | 2 +-
cloudstack/resource_cloudstack_autoscale_vm_profile_test.go | 2 +-
cloudstack/resource_cloudstack_disk.go | 2 +-
cloudstack/resource_cloudstack_disk_test.go | 2 +-
cloudstack/resource_cloudstack_egress_firewall.go | 2 +-
cloudstack/resource_cloudstack_egress_firewall_test.go | 2 +-
cloudstack/resource_cloudstack_firewall.go | 2 +-
cloudstack/resource_cloudstack_firewall_test.go | 2 +-
cloudstack/resource_cloudstack_instance.go | 2 +-
cloudstack/resource_cloudstack_instance_test.go | 2 +-
cloudstack/resource_cloudstack_ipaddress.go | 2 +-
cloudstack/resource_cloudstack_ipaddress_test.go | 2 +-
cloudstack/resource_cloudstack_loadbalancer_rule.go | 2 +-
cloudstack/resource_cloudstack_loadbalancer_rule_test.go | 2 +-
cloudstack/resource_cloudstack_network.go | 2 +-
cloudstack/resource_cloudstack_network_acl.go | 2 +-
cloudstack/resource_cloudstack_network_acl_rule.go | 2 +-
cloudstack/resource_cloudstack_network_acl_rule_test.go | 2 +-
cloudstack/resource_cloudstack_network_acl_test.go | 2 +-
cloudstack/resource_cloudstack_network_test.go | 2 +-
cloudstack/resource_cloudstack_nic.go | 2 +-
cloudstack/resource_cloudstack_nic_test.go | 2 +-
cloudstack/resource_cloudstack_port_forward.go | 2 +-
cloudstack/resource_cloudstack_port_forward_test.go | 2 +-
cloudstack/resource_cloudstack_private_gateway.go | 2 +-
cloudstack/resource_cloudstack_private_gateway_test.go | 2 +-
cloudstack/resource_cloudstack_secondary_ipaddress.go | 2 +-
cloudstack/resource_cloudstack_secondary_ipaddress_test.go | 2 +-
cloudstack/resource_cloudstack_security_group.go | 2 +-
cloudstack/resource_cloudstack_security_group_rule.go | 2 +-
cloudstack/resource_cloudstack_security_group_rule_test.go | 2 +-
cloudstack/resource_cloudstack_security_group_test.go | 2 +-
cloudstack/resource_cloudstack_ssh_keypair.go | 2 +-
cloudstack/resource_cloudstack_ssh_keypair_test.go | 2 +-
cloudstack/resource_cloudstack_static_nat.go | 2 +-
cloudstack/resource_cloudstack_static_nat_test.go | 2 +-
cloudstack/resource_cloudstack_static_route.go | 2 +-
cloudstack/resource_cloudstack_static_route_test.go | 2 +-
cloudstack/resource_cloudstack_template.go | 2 +-
cloudstack/resource_cloudstack_template_test.go | 2 +-
cloudstack/resource_cloudstack_vpc.go | 2 +-
cloudstack/resource_cloudstack_vpc_test.go | 2 +-
cloudstack/resource_cloudstack_vpn_connection.go | 2 +-
cloudstack/resource_cloudstack_vpn_connection_test.go | 2 +-
cloudstack/resource_cloudstack_vpn_customer_gateway.go | 2 +-
cloudstack/resource_cloudstack_vpn_customer_gateway_test.go | 2 +-
cloudstack/resource_cloudstack_vpn_gateway.go | 2 +-
cloudstack/resource_cloudstack_vpn_gateway_test.go | 2 +-
cloudstack/resources.go | 2 +-
cloudstack/tags.go | 2 +-
54 files changed, 54 insertions(+), 54 deletions(-)
diff --git a/cloudstack/data_source_cloudstack_template.go
b/cloudstack/data_source_cloudstack_template.go
index 01e0797..6a9b667 100644
--- a/cloudstack/data_source_cloudstack_template.go
+++ b/cloudstack/data_source_cloudstack_template.go
@@ -26,8 +26,8 @@ import (
"regexp"
"time"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func dataSourceCloudstackTemplate() *schema.Resource {
diff --git a/cloudstack/metadata.go b/cloudstack/metadata.go
index b59b799..714c244 100644
--- a/cloudstack/metadata.go
+++ b/cloudstack/metadata.go
@@ -22,8 +22,8 @@ package cloudstack
import (
"log"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
// metadataSchema returns the schema to use for metadata
diff --git a/cloudstack/resource_cloudstack_affinity_group.go
b/cloudstack/resource_cloudstack_affinity_group.go
index 588eb5a..7b64fbe 100644
--- a/cloudstack/resource_cloudstack_affinity_group.go
+++ b/cloudstack/resource_cloudstack_affinity_group.go
@@ -24,8 +24,8 @@ import (
"log"
"strings"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackAffinityGroup() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_affinity_group_test.go
b/cloudstack/resource_cloudstack_affinity_group_test.go
index 23a2561..9b1eb8b 100644
--- a/cloudstack/resource_cloudstack_affinity_group_test.go
+++ b/cloudstack/resource_cloudstack_affinity_group_test.go
@@ -23,9 +23,9 @@ import (
"fmt"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackAffinityGroup_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_autoscale_vm_profile.go
b/cloudstack/resource_cloudstack_autoscale_vm_profile.go
index bd38fbf..f9d7cde 100644
--- a/cloudstack/resource_cloudstack_autoscale_vm_profile.go
+++ b/cloudstack/resource_cloudstack_autoscale_vm_profile.go
@@ -26,8 +26,8 @@ import (
"strings"
"time"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackAutoScaleVMProfile() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_autoscale_vm_profile_test.go
b/cloudstack/resource_cloudstack_autoscale_vm_profile_test.go
index 6626306..f172ec6 100644
--- a/cloudstack/resource_cloudstack_autoscale_vm_profile_test.go
+++ b/cloudstack/resource_cloudstack_autoscale_vm_profile_test.go
@@ -23,9 +23,9 @@ import (
"fmt"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackAutoscaleVMProfile_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_disk.go
b/cloudstack/resource_cloudstack_disk.go
index 0b6033e..5184a78 100644
--- a/cloudstack/resource_cloudstack_disk.go
+++ b/cloudstack/resource_cloudstack_disk.go
@@ -23,8 +23,8 @@ import (
"fmt"
"strings"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackDisk() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_disk_test.go
b/cloudstack/resource_cloudstack_disk_test.go
index fd01d6b..2989ae8 100644
--- a/cloudstack/resource_cloudstack_disk_test.go
+++ b/cloudstack/resource_cloudstack_disk_test.go
@@ -23,9 +23,9 @@ import (
"fmt"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackDisk_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_egress_firewall.go
b/cloudstack/resource_cloudstack_egress_firewall.go
index 46e9ed5..bc44cc6 100644
--- a/cloudstack/resource_cloudstack_egress_firewall.go
+++ b/cloudstack/resource_cloudstack_egress_firewall.go
@@ -26,9 +26,9 @@ import (
"sync"
"time"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/go-multierror"
"github.com/hashicorp/terraform/helper/schema"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func resourceCloudStackEgressFirewall() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_egress_firewall_test.go
b/cloudstack/resource_cloudstack_egress_firewall_test.go
index 1f81a77..6a5de88 100644
--- a/cloudstack/resource_cloudstack_egress_firewall_test.go
+++ b/cloudstack/resource_cloudstack_egress_firewall_test.go
@@ -24,9 +24,9 @@ import (
"strings"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackEgressFirewall_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_firewall.go
b/cloudstack/resource_cloudstack_firewall.go
index ce90bae..dbd922b 100644
--- a/cloudstack/resource_cloudstack_firewall.go
+++ b/cloudstack/resource_cloudstack_firewall.go
@@ -26,9 +26,9 @@ import (
"sync"
"time"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/go-multierror"
"github.com/hashicorp/terraform/helper/schema"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func resourceCloudStackFirewall() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_firewall_test.go
b/cloudstack/resource_cloudstack_firewall_test.go
index feeb324..8fd6606 100644
--- a/cloudstack/resource_cloudstack_firewall_test.go
+++ b/cloudstack/resource_cloudstack_firewall_test.go
@@ -24,9 +24,9 @@ import (
"strings"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackFirewall_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_instance.go
b/cloudstack/resource_cloudstack_instance.go
index 6bdf675..0799f92 100644
--- a/cloudstack/resource_cloudstack_instance.go
+++ b/cloudstack/resource_cloudstack_instance.go
@@ -27,8 +27,8 @@ import (
"log"
"strings"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackInstance() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_instance_test.go
b/cloudstack/resource_cloudstack_instance_test.go
index 35c6928..fb313af 100644
--- a/cloudstack/resource_cloudstack_instance_test.go
+++ b/cloudstack/resource_cloudstack_instance_test.go
@@ -23,9 +23,9 @@ import (
"fmt"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackInstance_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_ipaddress.go
b/cloudstack/resource_cloudstack_ipaddress.go
index 3c2f85c..743cd10 100644
--- a/cloudstack/resource_cloudstack_ipaddress.go
+++ b/cloudstack/resource_cloudstack_ipaddress.go
@@ -24,8 +24,8 @@ import (
"log"
"strings"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackIPAddress() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_ipaddress_test.go
b/cloudstack/resource_cloudstack_ipaddress_test.go
index bb45d3d..90058de 100644
--- a/cloudstack/resource_cloudstack_ipaddress_test.go
+++ b/cloudstack/resource_cloudstack_ipaddress_test.go
@@ -23,9 +23,9 @@ import (
"fmt"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackIPAddress_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_loadbalancer_rule.go
b/cloudstack/resource_cloudstack_loadbalancer_rule.go
index 30b1b9a..4eb0a0d 100644
--- a/cloudstack/resource_cloudstack_loadbalancer_rule.go
+++ b/cloudstack/resource_cloudstack_loadbalancer_rule.go
@@ -24,8 +24,8 @@ import (
"log"
"strings"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackLoadBalancerRule() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_loadbalancer_rule_test.go
b/cloudstack/resource_cloudstack_loadbalancer_rule_test.go
index bafa786..3351a4c 100644
--- a/cloudstack/resource_cloudstack_loadbalancer_rule_test.go
+++ b/cloudstack/resource_cloudstack_loadbalancer_rule_test.go
@@ -24,9 +24,9 @@ import (
"strings"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackLoadBalancerRule_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_network.go
b/cloudstack/resource_cloudstack_network.go
index 16880de..8b4ae37 100644
--- a/cloudstack/resource_cloudstack_network.go
+++ b/cloudstack/resource_cloudstack_network.go
@@ -26,8 +26,8 @@ import (
"strconv"
"strings"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
const none = "none"
diff --git a/cloudstack/resource_cloudstack_network_acl.go
b/cloudstack/resource_cloudstack_network_acl.go
index af25740..2c5a567 100644
--- a/cloudstack/resource_cloudstack_network_acl.go
+++ b/cloudstack/resource_cloudstack_network_acl.go
@@ -24,8 +24,8 @@ import (
"log"
"strings"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackNetworkACL() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_network_acl_rule.go
b/cloudstack/resource_cloudstack_network_acl_rule.go
index 66c64fd..f2daac7 100644
--- a/cloudstack/resource_cloudstack_network_acl_rule.go
+++ b/cloudstack/resource_cloudstack_network_acl_rule.go
@@ -27,9 +27,9 @@ import (
"sync"
"time"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/go-multierror"
"github.com/hashicorp/terraform/helper/schema"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func resourceCloudStackNetworkACLRule() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_network_acl_rule_test.go
b/cloudstack/resource_cloudstack_network_acl_rule_test.go
index b0aa1ad..8eb76aa 100644
--- a/cloudstack/resource_cloudstack_network_acl_rule_test.go
+++ b/cloudstack/resource_cloudstack_network_acl_rule_test.go
@@ -24,9 +24,9 @@ import (
"strings"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackNetworkACLRule_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_network_acl_test.go
b/cloudstack/resource_cloudstack_network_acl_test.go
index 4830c27..2e534f6 100644
--- a/cloudstack/resource_cloudstack_network_acl_test.go
+++ b/cloudstack/resource_cloudstack_network_acl_test.go
@@ -23,9 +23,9 @@ import (
"fmt"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackNetworkACL_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_network_test.go
b/cloudstack/resource_cloudstack_network_test.go
index a9f0bea..e389dbd 100644
--- a/cloudstack/resource_cloudstack_network_test.go
+++ b/cloudstack/resource_cloudstack_network_test.go
@@ -23,9 +23,9 @@ import (
"fmt"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackNetwork_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_nic.go
b/cloudstack/resource_cloudstack_nic.go
index d9afd8b..cc75840 100644
--- a/cloudstack/resource_cloudstack_nic.go
+++ b/cloudstack/resource_cloudstack_nic.go
@@ -24,8 +24,8 @@ import (
"log"
"strings"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackNIC() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_nic_test.go
b/cloudstack/resource_cloudstack_nic_test.go
index 8a609d4..d5122e0 100644
--- a/cloudstack/resource_cloudstack_nic_test.go
+++ b/cloudstack/resource_cloudstack_nic_test.go
@@ -23,9 +23,9 @@ import (
"fmt"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackNIC_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_port_forward.go
b/cloudstack/resource_cloudstack_port_forward.go
index 2b4c41f..b8ec6eb 100644
--- a/cloudstack/resource_cloudstack_port_forward.go
+++ b/cloudstack/resource_cloudstack_port_forward.go
@@ -27,9 +27,9 @@ import (
"sync"
"time"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/go-multierror"
"github.com/hashicorp/terraform/helper/schema"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func resourceCloudStackPortForward() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_port_forward_test.go
b/cloudstack/resource_cloudstack_port_forward_test.go
index d636dc7..0333ed1 100644
--- a/cloudstack/resource_cloudstack_port_forward_test.go
+++ b/cloudstack/resource_cloudstack_port_forward_test.go
@@ -24,9 +24,9 @@ import (
"strings"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackPortForward_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_private_gateway.go
b/cloudstack/resource_cloudstack_private_gateway.go
index a04a9cc..ec5b935 100644
--- a/cloudstack/resource_cloudstack_private_gateway.go
+++ b/cloudstack/resource_cloudstack_private_gateway.go
@@ -24,8 +24,8 @@ import (
"log"
"strings"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackPrivateGateway() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_private_gateway_test.go
b/cloudstack/resource_cloudstack_private_gateway_test.go
index edadf17..a7cd6fe 100644
--- a/cloudstack/resource_cloudstack_private_gateway_test.go
+++ b/cloudstack/resource_cloudstack_private_gateway_test.go
@@ -23,9 +23,9 @@ import (
"fmt"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackPrivateGateway_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_secondary_ipaddress.go
b/cloudstack/resource_cloudstack_secondary_ipaddress.go
index 6201a43..4f8c6de 100644
--- a/cloudstack/resource_cloudstack_secondary_ipaddress.go
+++ b/cloudstack/resource_cloudstack_secondary_ipaddress.go
@@ -24,8 +24,8 @@ import (
"log"
"strings"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackSecondaryIPAddress() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_secondary_ipaddress_test.go
b/cloudstack/resource_cloudstack_secondary_ipaddress_test.go
index fa91b8b..1daf054 100644
--- a/cloudstack/resource_cloudstack_secondary_ipaddress_test.go
+++ b/cloudstack/resource_cloudstack_secondary_ipaddress_test.go
@@ -23,9 +23,9 @@ import (
"fmt"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackSecondaryIPAddress_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_security_group.go
b/cloudstack/resource_cloudstack_security_group.go
index 3b245fb..c2d2f10 100644
--- a/cloudstack/resource_cloudstack_security_group.go
+++ b/cloudstack/resource_cloudstack_security_group.go
@@ -24,8 +24,8 @@ import (
"log"
"strings"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackSecurityGroup() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_security_group_rule.go
b/cloudstack/resource_cloudstack_security_group_rule.go
index 5730ac4..9b81e05 100644
--- a/cloudstack/resource_cloudstack_security_group_rule.go
+++ b/cloudstack/resource_cloudstack_security_group_rule.go
@@ -27,9 +27,9 @@ import (
"sync"
"time"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
multierror "github.com/hashicorp/go-multierror"
"github.com/hashicorp/terraform/helper/schema"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
type authorizeSecurityGroupParams interface {
diff --git a/cloudstack/resource_cloudstack_security_group_rule_test.go
b/cloudstack/resource_cloudstack_security_group_rule_test.go
index 8c3779a..768c89f 100644
--- a/cloudstack/resource_cloudstack_security_group_rule_test.go
+++ b/cloudstack/resource_cloudstack_security_group_rule_test.go
@@ -24,9 +24,9 @@ import (
"strings"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackSecurityGroupRule_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_security_group_test.go
b/cloudstack/resource_cloudstack_security_group_test.go
index b13aaa9..174bea4 100644
--- a/cloudstack/resource_cloudstack_security_group_test.go
+++ b/cloudstack/resource_cloudstack_security_group_test.go
@@ -23,9 +23,9 @@ import (
"fmt"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackSecurityGroup_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_ssh_keypair.go
b/cloudstack/resource_cloudstack_ssh_keypair.go
index 1185f76..2ed8f68 100644
--- a/cloudstack/resource_cloudstack_ssh_keypair.go
+++ b/cloudstack/resource_cloudstack_ssh_keypair.go
@@ -24,8 +24,8 @@ import (
"log"
"strings"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackSSHKeyPair() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_ssh_keypair_test.go
b/cloudstack/resource_cloudstack_ssh_keypair_test.go
index 6b9b2b9..44ef1d0 100644
--- a/cloudstack/resource_cloudstack_ssh_keypair_test.go
+++ b/cloudstack/resource_cloudstack_ssh_keypair_test.go
@@ -24,9 +24,9 @@ import (
"strings"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackSSHKeyPair_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_static_nat.go
b/cloudstack/resource_cloudstack_static_nat.go
index 8813de8..c3dbd22 100644
--- a/cloudstack/resource_cloudstack_static_nat.go
+++ b/cloudstack/resource_cloudstack_static_nat.go
@@ -24,8 +24,8 @@ import (
"log"
"strings"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackStaticNAT() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_static_nat_test.go
b/cloudstack/resource_cloudstack_static_nat_test.go
index 577d199..39d6cde 100644
--- a/cloudstack/resource_cloudstack_static_nat_test.go
+++ b/cloudstack/resource_cloudstack_static_nat_test.go
@@ -23,9 +23,9 @@ import (
"fmt"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackStaticNAT_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_static_route.go
b/cloudstack/resource_cloudstack_static_route.go
index d0749d1..ddcdc47 100644
--- a/cloudstack/resource_cloudstack_static_route.go
+++ b/cloudstack/resource_cloudstack_static_route.go
@@ -24,8 +24,8 @@ import (
"log"
"strings"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackStaticRoute() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_static_route_test.go
b/cloudstack/resource_cloudstack_static_route_test.go
index 5e4e5da..c9f321c 100644
--- a/cloudstack/resource_cloudstack_static_route_test.go
+++ b/cloudstack/resource_cloudstack_static_route_test.go
@@ -23,9 +23,9 @@ import (
"fmt"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackStaticRoute_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_template.go
b/cloudstack/resource_cloudstack_template.go
index 51f2385..64d4600 100644
--- a/cloudstack/resource_cloudstack_template.go
+++ b/cloudstack/resource_cloudstack_template.go
@@ -25,8 +25,8 @@ import (
"strings"
"time"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackTemplate() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_template_test.go
b/cloudstack/resource_cloudstack_template_test.go
index 5a0464b..9265c8f 100644
--- a/cloudstack/resource_cloudstack_template_test.go
+++ b/cloudstack/resource_cloudstack_template_test.go
@@ -23,9 +23,9 @@ import (
"fmt"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackTemplate_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_vpc.go
b/cloudstack/resource_cloudstack_vpc.go
index a61f091..d571011 100644
--- a/cloudstack/resource_cloudstack_vpc.go
+++ b/cloudstack/resource_cloudstack_vpc.go
@@ -24,8 +24,8 @@ import (
"log"
"strings"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackVPC() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_vpc_test.go
b/cloudstack/resource_cloudstack_vpc_test.go
index 4d5c8f2..8516f22 100644
--- a/cloudstack/resource_cloudstack_vpc_test.go
+++ b/cloudstack/resource_cloudstack_vpc_test.go
@@ -23,9 +23,9 @@ import (
"fmt"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackVPC_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_vpn_connection.go
b/cloudstack/resource_cloudstack_vpn_connection.go
index 2cf314c..5beadb6 100644
--- a/cloudstack/resource_cloudstack_vpn_connection.go
+++ b/cloudstack/resource_cloudstack_vpn_connection.go
@@ -24,8 +24,8 @@ import (
"log"
"strings"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackVPNConnection() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_vpn_connection_test.go
b/cloudstack/resource_cloudstack_vpn_connection_test.go
index e28884c..064233b 100644
--- a/cloudstack/resource_cloudstack_vpn_connection_test.go
+++ b/cloudstack/resource_cloudstack_vpn_connection_test.go
@@ -23,9 +23,9 @@ import (
"fmt"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackVPNConnection_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_vpn_customer_gateway.go
b/cloudstack/resource_cloudstack_vpn_customer_gateway.go
index 02d12d1..fb59ddb 100644
--- a/cloudstack/resource_cloudstack_vpn_customer_gateway.go
+++ b/cloudstack/resource_cloudstack_vpn_customer_gateway.go
@@ -24,8 +24,8 @@ import (
"log"
"strings"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackVPNCustomerGateway() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_vpn_customer_gateway_test.go
b/cloudstack/resource_cloudstack_vpn_customer_gateway_test.go
index eb11890..5fada1c 100644
--- a/cloudstack/resource_cloudstack_vpn_customer_gateway_test.go
+++ b/cloudstack/resource_cloudstack_vpn_customer_gateway_test.go
@@ -23,9 +23,9 @@ import (
"fmt"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackVPNCustomerGateway_basic(t *testing.T) {
diff --git a/cloudstack/resource_cloudstack_vpn_gateway.go
b/cloudstack/resource_cloudstack_vpn_gateway.go
index 958e1a5..7fe8443 100644
--- a/cloudstack/resource_cloudstack_vpn_gateway.go
+++ b/cloudstack/resource_cloudstack_vpn_gateway.go
@@ -24,8 +24,8 @@ import (
"log"
"strings"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
func resourceCloudStackVPNGateway() *schema.Resource {
diff --git a/cloudstack/resource_cloudstack_vpn_gateway_test.go
b/cloudstack/resource_cloudstack_vpn_gateway_test.go
index 29e0615..ed39ae3 100644
--- a/cloudstack/resource_cloudstack_vpn_gateway_test.go
+++ b/cloudstack/resource_cloudstack_vpn_gateway_test.go
@@ -23,9 +23,9 @@ import (
"fmt"
"testing"
+ "github.com/apache/cloudstack-go/v2/cloudstack"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
- "github.com/apache/cloudstack-go/v2/cloudstack"
)
func TestAccCloudStackVPNGateway_basic(t *testing.T) {
diff --git a/cloudstack/resources.go b/cloudstack/resources.go
index 405ecc8..8b0404c 100644
--- a/cloudstack/resources.go
+++ b/cloudstack/resources.go
@@ -26,8 +26,8 @@ import (
"strings"
"time"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
// Define a regexp for parsing the port
diff --git a/cloudstack/tags.go b/cloudstack/tags.go
index 630986c..3aa38e1 100644
--- a/cloudstack/tags.go
+++ b/cloudstack/tags.go
@@ -22,8 +22,8 @@ package cloudstack
import (
"log"
- "github.com/hashicorp/terraform/helper/schema"
"github.com/apache/cloudstack-go/v2/cloudstack"
+ "github.com/hashicorp/terraform/helper/schema"
)
// tagsSchema returns the schema to use for tags