in azurerm/hcl_schema.go [103:116]
func getAttributeExprString(file *hclwrite.File, attrName string) string {
if file == nil {
return ""
}
if file.Body() == nil {
return ""
}
if attribute := file.Body().GetAttribute(attrName); attribute != nil {
if attribute.Expr() != nil {
return string(attribute.Expr().BuildTokens(nil).Bytes())
}
}
return ""
}