Skip to content

Commit

Permalink
Merge pull request #18 from form3tech-oss/enriquerecarte-upgrade-terr…
Browse files Browse the repository at this point in the history
…aform-12

Support for Terraform 0.12
  • Loading branch information
enriquerecarte authored Sep 30, 2019
2 parents 8360b7f + 2c49670 commit 525dc2b
Show file tree
Hide file tree
Showing 3,986 changed files with 345,996 additions and 1,462,622 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: go
go:
- 1.9
- 1.12
services:
- docker
script:
Expand All @@ -15,6 +15,7 @@ deploy:
env:
global:
- TF_ACC=1
- GO111MODULE=on
- secure: aHvYiRZnE+l7iJcLcW6TzP1dMGQHcGlNnWd5QPBvvHo+KPyeI2uoCuLNZQjH8oqgIO9R+D9lTGhZjmP0HamyQ5ptJSq8ShCA2BcsUmwvxF3BB3FFHATDC6ETVVcw04EAcqeYWvs5d/12vn/7V6t0vQNvaYTxSdR7Em5sKGJYi0KJadHLR6wD6jSa1H4wzkgW8ZyvHiKF7gihkTXraCLefg46cIjCMe10+ruIotY72760uieKmZgheRzHpQgy+YIzzBq4QuEwqa/ZilQwNZ6PCCEuXIUT/kO2QtOzhaEgdMiooYPJBWbGvjz/ine7Jm2ixNC6ui+ybggDWMZUkdeXAno10if34JCRt0D4WKw5PBUmsQpIOJKO6GzXOh+pT/jauyFYUVRCIdybCJXqJRrvqmhp0LwG3L9qZ2ev4086haDlQg5nPZ4NGCnUXlXLyHZ+sZ3F9bDeJ7ogCKStmNPnKMloZNxCVfaE3eTwIg7Hsqa7VFGAYCEwpFkHJ3QpnalJx+Uvy/Jj619SPYLSHXjKh9dp7XF4W6hM8iqUY4DMVDgDZxv4RFrCvqeTRihT/pYGuKH7ZipduRv53jWUiN9Myv51/HvR6+rbKxxcdtbHn1MMW3udDKmR03s7eM+MOMi0Xy0TohigGOVpj3RIoM033k6pm+LuuNtOfPx8sKVRma0=
- secure: b0F+f1ebRnLII2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L9pxcI1wF3MmMYF6XcZ24MPfa43S95JBEdM5iY84vadvOVMKHhVFD8a5np44SvvcTASbyz+Sj3k3Hdp5ImTpTLOC+SBNaFSqzZzLr8w8WQTM03F9eyhrlSRYu3yBeh73RSBAlXpySyD9YNAxQp2xv4wq64Q5dKE+FKRYHalj9q2dofOnk4KEk/ys5Ec2/P4RT6//zXDC9pj4SiX+K5zN+QzZdStyop2smRUwLMfi6gN98VsuE7l7iWBRjnBKysoH+v0KY1MPTsODdmth3fOw=
Expand Down
4 changes: 2 additions & 2 deletions auth0/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package auth0
import (
"encoding/json"
"fmt"
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform/terraform"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
"github.com/parnurzeal/gorequest"
"log"
)
Expand Down
4 changes: 2 additions & 2 deletions auth0/provider_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package auth0

import (
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform/terraform"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
"os"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion auth0/resource_auth0_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package auth0

import (
"fmt"
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

func resourceAuth0Api() *schema.Resource {
Expand Down
4 changes: 2 additions & 2 deletions auth0/resource_auth0_api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package auth0

import (
"fmt"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion auth0/resource_auth0_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package auth0

import (
"fmt"
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

func resourceAuth0Client() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion auth0/resource_auth0_client_grant.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package auth0

import (
"fmt"
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

func resourceAuth0ClientGrant() *schema.Resource {
Expand Down
6 changes: 3 additions & 3 deletions auth0/resource_auth0_client_grant_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package auth0
import (
"fmt"
"github.com/google/uuid"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
"testing"
)

Expand All @@ -29,7 +29,7 @@ resource "auth0_api" "test_api" {
}
resource "auth0_client_grant" "test_client_grant" {
client_id = "${auth0_client.test_client.id}"
client_id = auth0_client.test_client.id
audience = "https://api.example.com/client_grant_test_` + testUUID + `"
scope = ["something"]
}
Expand Down
4 changes: 2 additions & 2 deletions auth0/resource_auth0_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package auth0

import (
"fmt"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion auth0/resource_auth0_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package auth0

import (
"fmt"
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

func resourceAuth0User() *schema.Resource {
Expand Down
4 changes: 2 additions & 2 deletions auth0/resource_auth0_user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package auth0

import (
"fmt"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion auth0/resource_reader.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package auth0

import "github.com/hashicorp/terraform/helper/schema"
import "github.com/hashicorp/terraform-plugin-sdk/helper/schema"

func readStringFromResource(d *schema.ResourceData, key string) string {
if attr, ok := d.GetOk(key); ok {
Expand Down
2 changes: 1 addition & 1 deletion auth0/testing.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package auth0

import "github.com/hashicorp/terraform/terraform"
import "github.com/hashicorp/terraform-plugin-sdk/terraform"

func getResourcesByType(resourceType string, state *terraform.State) []*terraform.ResourceState {

Expand Down
14 changes: 14 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module github.com/form3tech-oss/terraform-provider-auth0

go 1.12

require (
github.com/elazarl/goproxy v0.0.0-20190911111923-ecfe977594f1 // indirect
github.com/google/uuid v1.1.1
github.com/hashicorp/hcl v0.0.0-20171017181929-23c074d0eceb // indirect
github.com/hashicorp/terraform-plugin-sdk v1.0.0
github.com/moul/http2curl v1.0.0 // indirect
github.com/parnurzeal/gorequest v0.2.15
github.com/pkg/errors v0.8.1 // indirect
github.com/smartystreets/goconvey v0.0.0-20190731233626-505e41936337 // indirect
)
Loading

0 comments on commit 525dc2b

Please sign in to comment.