Skip to content

Can not imported ScreenBoard got an error unmarshal #105

@officel

Description

@officel

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

$ terraform -v
Terraform v0.11.8
+ provider.aws v1.40.0
+ provider.datadog v1.4.0

Affected Resource(s)

  • datadog_screenboard

Terraform Configuration Files

resource "datadog_screenboard" "security_log" {
}

Of course, other resources can be managed.

Expected Behavior

imported screenboard

Actual Behavior

$ terraform import datadog_screenboard.security_log 465952
datadog_screenboard.security_log: Importing from ID "465952"...

Error: datadog_screenboard.security_log (import id: 465952): import datadog_screenboard.security_log (id: 465952): json: cannot unmarshal number into Go struct field Screenboard.height of type string

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions