Skip to content

Provider error about tftypes.Value conversion (with new Terraform provider version) #404

@tifennlegoff

Description

@tifennlegoff

Hey, we have this error during the Terraform apply with the provider version v2.1.0, we didn't have this error with the version v2.0.20.

Affected Resource(s)

  • coralogix_dashboard

Terraform Configuration Files

I'm not sure about which file is concerned, actually, the file modules/dashboard_enrichment_pipeline/coreplatform-enrichment-pipeline-coralogix-dashboard.tf use result generated by local, so it's difficult to know what's wrong.

Debug Output

 Error: Value Conversion Error

  with module.enrichment_pipeline_dashboards["Radarly - Social Mixed Mixed Linkfluence"].coralogix_dashboard.coreplatform_enrichment_pipeline,
  on ../modules/dashboard_enrichment_pipeline/coreplatform-enrichment-pipeline-coralogix-dashboard.tf line 95, in resource "coralogix_dashboard" "coreplatform_enrichment_pipeline":
  95: resource "coralogix_dashboard" "coreplatform_enrichment_pipeline" {

An unexpected error was encountered trying to convert tftypes.Value into
dashboardwidgets.LineChartModel. This is always an error in the provider.
Please report the following to the provider developer:

mismatch between struct and object: Struct defines fields not found in
object: stacked_line.

Panic Output

Expected Behavior

Actual Behavior

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • #0000

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions