Comments (6)
same result if you try to add client_metadata to the auth0_connection resource
from terraform-provider-auth0.
Hi @dassbj01, could you re-run using TF_LOG=DEBUG AUTH0_DEBUG=1 terraform apply
and upload the crash log to a gist? Which version of this provider are you using?
from terraform-provider-auth0.
sure :
https://gist.github.com/dassbj01/733ccacc6a9120018e8b72c00fda804d
provider version is master head (build locally, as we run terraform using docker and therefor we do build all non official plugins)
from terraform-provider-auth0.
and thx for prettifying my issue
from terraform-provider-auth0.
Thanks @dassbj01, with the crash.log I'm able to see where it went wrong. The type conversion of client_metadata
is incorrect, and the tests didn't catch it.
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: panic: interface conversion: interface {} is map[string]interface {}, not []interface {}
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0:
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: goroutine 101 [running]:
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: github.com/yieldr/terraform-provider-auth0/auth0.List(0xf88c80, 0xc0001bf490, 0xe25404, 0xf, 0xc00044c660)
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: /go_path/src/github.com/yieldr/terraform-provider-auth0/auth0/resource_data.go:115 +0x146
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: github.com/yieldr/terraform-provider-auth0/auth0.buildClient(0xc0001bf490, 0xc0003669e0)
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: /go_path/src/github.com/yieldr/terraform-provider-auth0/auth0/resource_auth0_client.go:578 +0x903
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: github.com/yieldr/terraform-provider-auth0/auth0.createClient(0xc0001bf490, 0xda48a0, 0xc0000a8790, 0x24, 0x1696740)
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: /go_path/src/github.com/yieldr/terraform-provider-auth0/auth0/resource_auth0_client.go:440 +0x2f
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: github.com/yieldr/terraform-provider-auth0/vendor/github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc0001be770, 0xc0003c6500, 0xc0003dfa80, 0xda48a0, 0xc0000a8790, 0x40d701, 0xc000366b80, 0x4c323c)
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: /go_path/src/github.com/yieldr/terraform-provider-auth0/vendor/github.com/hashicorp/terraform/helper/schema/resource.go:225 +0x351
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: github.com/yieldr/terraform-provider-auth0/vendor/github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc0001beee0, 0xc0003c64b0, 0xc0003c6500, 0xc0003dfa80, 0xc000124e00, 0x18, 0x7fa9a33e46c0)
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: /go_path/src/github.com/yieldr/terraform-provider-auth0/vendor/github.com/hashicorp/terraform/helper/schema/provider.go:283 +0x9c
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: github.com/yieldr/terraform-provider-auth0/vendor/github.com/hashicorp/terraform/plugin.(*ResourceProviderServer).Apply(0xc0003dec20, 0xc0003df660, 0xc000146e70, 0x0, 0x0)
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: /go_path/src/github.com/yieldr/terraform-provider-auth0/vendor/github.com/hashicorp/terraform/plugin/resource_provider.go:527 +0x57
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: reflect.Value.call(0xc0001532c0, 0xc0005161f8, 0x13, 0xe1b251, 0x4, 0xc000366f18, 0x3, 0x3, 0xc000148300, 0xc0004a8180, ...)
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: /usr/local/go/src/reflect/value.go:447 +0x449
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: reflect.Value.Call(0xc0001532c0, 0xc0005161f8, 0x13, 0xc0004c2718, 0x3, 0x3, 0x0, 0xc0003bac60, 0x0)
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: /usr/local/go/src/reflect/value.go:308 +0xa4
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: net/rpc.(*service).call(0xc000530d40, 0xc0003c6320, 0xc000532340, 0xc000532350, 0xc000168a80, 0xc0003c24c0, 0xc8ae00, 0xc0003df660, 0x16, 0xc8ae40, ...)
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: /usr/local/go/src/net/rpc/server.go:384 +0x14e
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: created by net/rpc.(*Server).ServeCodec
2018-11-29T09:16:46.101Z [DEBUG] plugin.terraform-provider-auth0: /usr/local/go/src/net/rpc/server.go:481 +0x47e
I can have a look at it soon. Meanwhile, if you can give it a go you're welcome to do so.
from terraform-provider-auth0.
This was fixed by @ar3cka in #64
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.