-
Notifications
You must be signed in to change notification settings - Fork 32
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
[BUG] Planning throws error about unmarshalling number into struct field of type string #98
Comments
I have the same issue but with storage:
The same happens with As a matter of fact the api responds with the following data:
Changing from the original proxmox/virtual_environment_datastores_types.go
to something apparently more consistent
brings no benefits. Lastly, when I change the code as in the last snippet I get: I think something interesting comes from proxmoxtf/data_source_virtual_environment_datastores.go but I really don't know how the terraform SDK relates to this code. @magikid Unfortunately your implementation doesn't seem to work in my case either. |
just fyi, I merged this fix above and made few other improvements in the fork and published it to the terraform registry, if anyone interested: https://github.com/bpg/terraform-provider-proxmox |
No, nothing has been fixed, I compiled from sources last night.
When running |
@bpg Thank you! I can confirm that fixes my issue. |
Describe the bug
When running
terraform plan
, I get this error:To Reproduce
Apply this terraform file and then run
terraform plan
Expected behavior
I expected
terraform plan
to show that no infrastructure changes were needed.Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: