in types/azurerm_resource.go [180:187]
func (r *AzurermResource) IsForEach() bool { if len(r.Instances) != 0 && r.Instances[0].Index != nil { if _, ok := r.Instances[0].Index.(string); ok { return true } } return false }