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

Missing diff for a change to aws_iam_user_policy resource #52

Closed KashifSaadat closed 6 years ago

KashifSaadat commented 6 years ago

Versions:

terraform: v0.11.5 (also tested v0.11.7)
terraform-landscape: v0.1.17
docker image: ruby:2.5.1-alpine3.7

Issue: When updating an existing aws_iam_user_policy resource, the diff for the policy is not displayed at all. Only the following is shown (in yellow):

~ module.test_s3.aws_iam_user_policy.user_policy_1
    policy:

Creation and deletion of aws_iam_user_policy resources still display correctly, so it seems this occurs only on changes. I've also tested with a raw aws_iam_user_policy (not from within a module) and get the same error.

Is there a specific version of terraform that the terraform-landscape tool releases are tied to, or is this just a regression?

KashifSaadat commented 6 years ago

Apologies ignore, realised this was a duplicate of #51. Running apk add diffutils resolved this for me.

Thanks for the great tool! :)