-
Notifications
You must be signed in to change notification settings - Fork 380
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
Can not imported ScreenBoard got an error unmarshal #105
Comments
100% experiencing the same issue (can provide screenboard id on request). with
|
same error on my account, too.
|
…screenboards This contains the fixes from PR DataDog#194 and DataDog#195 from zorkian/go-datadog-api and the necessary changes in the provider.
This is related to an issue we're tracking with #117, let's use that to consolidate communications. |
Same here, tried plugin v1.5.0 and 1.6.0;
ℹ️ |
@masci would you mind reopening this? Exactly the same issue! |
Thank you for reopening this, @masci 😉 . |
I wonder, can it be source of problem? https://github.com/terraform-providers/terraform-provider-datadog/blob/master/datadog/resource_datadog_screenboard.go#L555 Thoughts, @masci ? Sorry, this message was a result of a brief scan of plugin's source code, don't have time to verify properly. |
Hi! @masci did you have time to look into it, by any chance? |
any update on this error? I'm having the same issue and wanted to manage the boards via terraform |
Errors will continue to occur with provider.datadog v1.7.0 ...
|
Whether use create or get with the Screenboard API, width and height will be passed by string. ( I'm sorry. I'm not familiar with Golang, so I can't say I can fix it all... see https://docs.datadoghq.com/ja/api/?lang=console#screenboards-get
|
Organize the plan additionally
width and height is auto fix on DataDog...? |
i think this might have to do with higher issue in the library upstream. After looking through the code. Not a go expert though. zorkian/go-datadog-api#219 |
I am also facing the same issue importing a screen board. |
I also saw an issue with not being able to import a screenboard that had been touched by human hands. Regrettably, WYSIWYG is the easiest way to develop a screenboard. When I was working with this, I noticed there was a 'palette_flip' flip attribute on a host map widget which was defined with a boolean value of 'true' in my terraform code, which functions correctly when applied to Datadog, whose value was represented in the JSON (which I could see when editing the screenboard) as the numeral '1'. This was causing an error in Datadog when I was trying to modify a clone of this screenboard. When I edited the JSON backend to spell out "true", the screenboard was happy with it. I offer this clue in hope that it might help a source maintainer identify where the problem lies. |
I'm facing the same problem and it is preventing me to update the provider even to 1.5:
This will be an issue to go to terraform 0.12.X soon, as I can't update the provider without removing the the dashboard from the state. |
Hey folks 👋 due to some changes in the backend code, this shouldn't be happening as of August 20th 2019. Can you please try again and confirm that it's the case? Thanks! |
Thanks for the great news. can you check this sample?
|
Widgets are created after several tests of apply & destroy... |
Yeah, I can reproduce the issue with non-empty TF plan when width and height are not set. I'll submit a PR to get that fixed. The widget seems to be created for me (and it was for you eventually as well, so I'm going to assume that this is working fine). |
So I closed this by #404 - please give this a try when the new version of the provider gets released and open a new issue if there are other errors. Also consider trying the new |
Hi there,
I'm happy to be able to manage the screenboard with DataDog.
But I tried importing an existing board but it got an error.
Am I something wrong?
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Of course, other resources can be managed.
Expected Behavior
imported screenboard
Actual Behavior
Steps to Reproduce
only use import .
Important Factoids
maybe any boards cannot import...
aws integration make some boards, can not imported.
References
https://www.terraform.io/docs/providers/datadog/r/screenboard.html
Please tell me if there is any information. Thank you.
The text was updated successfully, but these errors were encountered: