Skip to content

Commit

Permalink
Fix invalid Go package name (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
vavsab authored Feb 18, 2024
1 parent a64e55e commit 2040f30
Show file tree
Hide file tree
Showing 41 changed files with 67 additions and 41 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module terraform-provider-cpln
module github.com/controlplane-com/terraform-provider-cpln

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_gvc.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cpln
import (
"context"

client "terraform-provider-cpln/internal/provider/client"
client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/data_source_gvcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package cpln
import (
"context"
"strconv"
client "terraform-provider-cpln/internal/provider/client"
"time"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_location.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cpln
import (
"context"

client "terraform-provider-cpln/internal/provider/client"
client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/data_source_locations.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package cpln
import (
"context"
"strconv"
client "terraform-provider-cpln/internal/provider/client"
"time"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/data_source_org.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ package cpln

import (
"context"
client "terraform-provider-cpln/internal/provider/client"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import (
"sort"
"strconv"
"strings"
client "terraform-provider-cpln/internal/provider/client"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cpln
import (
"context"

client "terraform-provider-cpln/internal/provider/client"
client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cpln
import (
"context"

client "terraform-provider-cpln/internal/provider/client"
client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package cpln

import (
"fmt"
client "terraform-provider-cpln/internal/provider/client"
"testing"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_auditcontext.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ package cpln

import (
"context"
client "terraform-provider-cpln/internal/provider/client"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_auditcontext_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package cpln

import (
"fmt"
client "terraform-provider-cpln/internal/provider/client"
"testing"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_cloudaccount.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import (
"context"
"fmt"
"regexp"
client "terraform-provider-cpln/internal/provider/client"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_cloudaccount_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package cpln
import (
"fmt"
"os"
client "terraform-provider-cpln/internal/provider/client"
"testing"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cpln
import (
"context"

client "terraform-provider-cpln/internal/provider/client"
client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_domain_route.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"strings"

client "terraform-provider-cpln/internal/provider/client"
client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_domain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package cpln

import (
"fmt"
client "terraform-provider-cpln/internal/provider/client"
"testing"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/go-test/deep"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import (
"context"
"fmt"
"strings"
client "terraform-provider-cpln/internal/provider/client"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package cpln

import (
"fmt"
client "terraform-provider-cpln/internal/provider/client"
"testing"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/go-test/deep"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_gvc.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"log"
"strings"

client "terraform-provider-cpln/internal/provider/client"
client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_gvc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package cpln
import (
"encoding/json"
"fmt"
client "terraform-provider-cpln/internal/provider/client"
"testing"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/go-test/deep"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"regexp"
"strings"

client "terraform-provider-cpln/internal/provider/client"
client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_identity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package cpln
import (
"fmt"
"os"
client "terraform-provider-cpln/internal/provider/client"
"testing"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/go-test/deep"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_org.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ package cpln
import (
"context"
"fmt"
client "terraform-provider-cpln/internal/provider/client"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_org_logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"sync"

client "terraform-provider-cpln/internal/provider/client"
client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_org_logging_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package cpln

import (
"fmt"
client "terraform-provider-cpln/internal/provider/client"
"testing"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/go-test/deep"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_org_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cpln
import (
"testing"

client "terraform-provider-cpln/internal/provider/client"
client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/go-test/deep"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_org_tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cpln
import (
"context"

client "terraform-provider-cpln/internal/provider/client"
client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_org_tracing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package cpln

import (
"fmt"
client "terraform-provider-cpln/internal/provider/client"
"testing"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/go-test/deep"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"strings"

client "terraform-provider-cpln/internal/provider/client"
client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package cpln

import (
"fmt"
client "terraform-provider-cpln/internal/provider/client"
"testing"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"sort"

"github.com/go-test/deep"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import (
"context"
"encoding/json"
"fmt"
client "terraform-provider-cpln/internal/provider/client"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_secret_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package cpln

import (
"fmt"
client "terraform-provider-cpln/internal/provider/client"
"testing"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/go-test/deep"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_serviceaccount.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ package cpln

import (
"context"
client "terraform-provider-cpln/internal/provider/client"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_serviceaccount_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package cpln

import (
"fmt"
client "terraform-provider-cpln/internal/provider/client"
"testing"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_serviceaccountkey.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import (
"context"
"fmt"
"strings"
client "terraform-provider-cpln/internal/provider/client"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_volumeset.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import (
"encoding/json"
"fmt"
"strings"
client "terraform-provider-cpln/internal/provider/client"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_volumeset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package cpln
import (
"fmt"
"strings"
client "terraform-provider-cpln/internal/provider/client"
"testing"

client "github.com/controlplane-com/terraform-provider-cpln/internal/provider/client"

"github.com/go-test/deep"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
Expand Down
Loading

0 comments on commit 2040f30

Please sign in to comment.