Comments (4)
Hi @robertstettner, I've tried to reproduce this by replacing ${aws_route53_record.main.fqdn}
with example.com
. I wasn't able to reproduce the error.
The panic points to these lines. We should definitely not ignore the error from http.NewRequest(...)
.
Could you repeat your steps with the flags TF_LOG=DEBUG AUTH0_DEBUG=1
and paste the output in a gist?
from terraform-provider-auth0.
Same output as above, nothing new.
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: panic: runtime error: invalid memory address or nil pointer dereference
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: [signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x1808f51]
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12:
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: goroutine 51 [running]:
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: github.com/yieldr/terraform-provider-auth0/vendor/github.com/yieldr/go-auth0/management.(*Management).request(0xc00034c2c0, 0x1a18111, 0x4, 0xc000468000, 0x141, 0x1900200, 0xc000372600, 0x0, 0x0)
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: /go/src/github.com/yieldr/terraform-provider-auth0/vendor/github.com/yieldr/go-auth0/management/management.go:136 +0xd1
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: github.com/yieldr/terraform-provider-auth0/vendor/github.com/yieldr/go-auth0/management.(*Management).post(0xc00034c2c0, 0xc000468000, 0x141, 0x1900200, 0xc000372600, 0x141, 0xc0003f69c8)
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: /go/src/github.com/yieldr/terraform-provider-auth0/vendor/github.com/yieldr/go-auth0/management/management.go:172 +0x68
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: github.com/yieldr/terraform-provider-auth0/vendor/github.com/yieldr/go-auth0/management.(*ClientManager).Create(0xc00013a470, 0xc000372600, 0x17bb1ac, 0xc0003d6ce0)
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: /go/src/github.com/yieldr/terraform-provider-auth0/vendor/github.com/yieldr/go-auth0/management/client.go:114 +0xa1
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: github.com/yieldr/terraform-provider-auth0/auth0.createClient(0xc0003e6380, 0x19a1f40, 0xc00034c2c0, 0x24, 0x228dce0)
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: /go/src/github.com/yieldr/terraform-provider-auth0/auth0/resource_auth0_client.go:447 +0x5f
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: github.com/yieldr/terraform-provider-auth0/vendor/github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc000388850, 0xc000402140, 0xc0003d6ce0, 0x19a1f40, 0xc00034c2c0, 0x100b601, 0xc0003f6b80, 0x10bd81c)
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: /go/src/github.com/yieldr/terraform-provider-auth0/vendor/github.com/hashicorp/terraform/helper/schema/resource.go:225 +0x351
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: github.com/yieldr/terraform-provider-auth0/vendor/github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc000388ee0, 0xc0004020f0, 0xc000402140, 0xc0003d6ce0, 0xc000368000, 0x18, 0x2601440)
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: /go/src/github.com/yieldr/terraform-provider-auth0/vendor/github.com/hashicorp/terraform/helper/schema/provider.go:283 +0x9c
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: github.com/yieldr/terraform-provider-auth0/vendor/github.com/hashicorp/terraform/plugin.(*ResourceProviderServer).Apply(0xc000135b40, 0xc0003d68c0, 0xc0003e1930, 0x0, 0x0)
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: /go/src/github.com/yieldr/terraform-provider-auth0/vendor/github.com/hashicorp/terraform/plugin/resource_provider.go:527 +0x57
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: reflect.Value.call(0xc000126840, 0xc00013a038, 0x13, 0x1a17ffd, 0x4, 0xc0003f6f18, 0x3, 0x3, 0xc000384040, 0x0, ...)
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: /usr/local/go/src/reflect/value.go:447 +0x454
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: reflect.Value.Call(0xc000126840, 0xc00013a038, 0x13, 0xc000334f18, 0x3, 0x3, 0x0, 0x0, 0x0)
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: /usr/local/go/src/reflect/value.go:308 +0xa4
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: net/rpc.(*service).call(0xc00014a140, 0xc00033e1e0, 0xc00014c178, 0xc00014c1a0, 0xc00014e300, 0xc00013c9e0, 0x1889040, 0xc0003d68c0, 0x16, 0x1889080, ...)
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: /usr/local/go/src/net/rpc/server.go:384 +0x14e
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: created by net/rpc.(*Server).ServeCodec
2019-01-21T14:52:55.328Z [DEBUG] plugin.terraform-provider-auth0_v0.1.12: /usr/local/go/src/net/rpc/server.go:481 +0x47e
I tried using Terraform v0.11.8 and now v0.11.11, same problem.
from terraform-provider-auth0.
Sorry my mistake, I was putting in the client secret into the domain parameter of the auth0 provider. Stupid me.
So request was failing because it wasn't a valid domain. Would've been nice to have a friendly error message.
from terraform-provider-auth0.
Yes, that confirms my suspicion :)
Indeed a proper error message should be returned in this case.
I've made a ticket in yieldr/go-auth0 to fix this.
from terraform-provider-auth0.
Related Issues (20)
- Add native_social_login option to auth0_client HOT 1
- auth0_tenant flags not working as expected HOT 1
- Support for `session_cookie` argument in `auth0_tenant` resource HOT 1
- `auth0_connection`: add `show_as_button` option HOT 5
- Allow enabling "Connection button" for Azure Active Directory enterprise connection (waad) HOT 1
- auth0_resource_server `scopes` are not configured properly via terraform HOT 1
- `auth0_action` for `post-user-registration` trigger is created as Post Login in Auth0 HOT 1
- User data source HOT 2
- User roles resource HOT 1
- Error when creation Auth) connection with strategy = "auth0-adldap". HOT 2
- Multiple tenants HOT 4
- Only send tenant configuration if changed HOT 1
- Where can I find the ID of a tenant? HOT 2
- Dependency didn't resolved between trigger binding and action when we want to delete an action. HOT 1
- How do I find the ID of various resources in the portal? HOT 3
- Allow to update Node Runtime Extensibility on Tenant settings HOT 2
- Which Terraform resource covers "Machine to Machine Applications" under the applications page? HOT 1
- Organization connection does not get updated HOT 1
- THIS REPOSITORY HAS MOVED
- Thank you!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-auth0.