diff --git a/src/terraform/structure/terraform_parser.go b/src/terraform/structure/terraform_parser.go index 5d2c1e6c..50f75a77 100644 --- a/src/terraform/structure/terraform_parser.go +++ b/src/terraform/structure/terraform_parser.go @@ -828,7 +828,7 @@ func (p *TerraformParser) parseTagAttribute(tokens hclwrite.Tokens) map[string]s hclData := new(Resource) hclBytes := tokens.Bytes() hclBytes = []byte(strings.Replace(string(hclBytes), "{", " tags= {", 1)) - dethcl.Unmarshal((hclBytes), hclData) + _ = dethcl.Unmarshal((hclBytes), hclData) tempHclData, _ := dethcl.Marshal(hclData) hclFile, _ := hclwrite.ParseConfig(tempHclData, "", hcl.InitialPos) tagsAttribute := hclFile.Body().GetAttribute("tags")