coinbase / terraform-landscape

Improve Terraform's plan output to be easier to read and understand
Apache License 2.0
1.59k stars 116 forks source link

Error parsing `(new resource required)` in resource header #35

Closed NathanTCz closed 7 years ago

NathanTCz commented 7 years ago

In at least Terraform v0.10.5 they have added a new reason to a resource_header when a resource is to be re-created (new resource required)

$ terraform plan

...

-/+ null_resource.foo (tainted) (new resource required)
      id:                    "123456789" => <computed> (forces new resource)
      triggers.%:            "2" => "2"

landscape throws error: Expected one of "\n", "\n\n" .... after -/+ null_resource.foo (tainted)

sds commented 7 years ago

Fixed in #36.