Use `record_name` instead of `name` for resource attribute