Skip to content

Failure to unmarshall checks list with Terraform 1.6 #415

@Homulvas

Description

@Homulvas

I've updated to Terraform 1.6.1 and terraform show now produces a list of checks for one of my modules. With 1.5.7 this output was completely omitted.

This doesn't match the expectation of the State struct that Checks is a single pointer.

Running show with the current library results in:
json: cannot unmarshal array into Go struct field rawState.checks of type tfjson.CheckResultStatic

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