cloudposse-archives / tfmask

Terraform utility to mask select output from `terraform plan` and `terraform apply`
https://cloudposse.com/accelerate
Apache License 2.0
202 stars 27 forks source link

Heredoc syntax doesn't get picked up #16

Open stephenliberty opened 4 years ago

stephenliberty commented 4 years ago

Thanks for putting this together. Quick bug report - if you create something like an aws_s3_bucket_object like so..

resource "aws_s3_bucket_object" "test_item" {
   bucket = "..."
   key = "..."
   content = <<EOT
Alll the content in here. Do do do, content, content, content. 
EOT
}

it seems that the item gets ignored when trying to filter - it'll show up something like this if any part of it is updated:

  ~ resource "aws_s3_bucket_object" "test_item" {
        key           = "..."
        bucket        = "..."
        content       = <<~EOT
        Alll the content in here. Do do do, content, content, content. 
        EOT
     }
alexismosquera commented 1 year ago

👍