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