-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash using vra provider #154
Comments
Hi @helperton! Sorry for the late response here. This crash message seems to suggest that the provider is using a combination of schema types that the SDK doesn't support. Specifically, I believe somewhere in its schema is a declaration of a map of maps, which the SDK does not currently support. It is strange that this would cause a crash rather than a provider validation error, and so I'm going to mark this as an SDK bug. However, the fix to that bug will be to make this return a better error, rather than to make it work. The real fix here will be a change in the provider to make its schema valid, which will involve finding a different way to represent whatever attribute is currently defined as being a map of maps. A common approach in providers today is to rename the attribute to have a A future version of the SDK will support arbitrary combinations of types such as maps of maps, but the current SDK is limited by what Terraform 0.11 can support because current providers are still cross-compatible between 0.12 and 0.11. Once the new SDK is available (work on that is starting now, but it's still to early to know the scope of it because it's in the design phase), provider developers will need to decide when is an appropriate time to end support for Terraform 0.11 and in return get full support for the Terraform 0.12 type system. Complex structures represented as JSON string attributes is the standard workaround to get things done today while the new SDK is in progress. |
Merging this with complex map support, #62 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Version
Terraform Configuration Files
Debug Output
Crash Output
Expected Behavior
Actual Behavior
Steps to Reproduce
Additional Context
References
The text was updated successfully, but these errors were encountered: