The TO-infinitive as a subject complement
A to-infinitive clause can be a subject complement after be:
My advice is to file a complaint at once.
What is essential is to maintain a healthy diet.
The decision was to extend the deadline by three months.