Last year the Trump administration quietly shifted some funding meant for hospitals to fund vaccine development under Operation Warp Speed. Alex Tabarrok says there's nothing wrong with this:
The real scandal is why Congress never put big funding behind Operation Warp Speed—thus requiring the administration to fund OWS by surreptitiously cutting elsewhere.
But Congress made loads of funding available to OWS. Here's a recent Congressional Research Service report:
In the FY2020 laws, not much was appropriated specifically for COVID-19 vaccine-related efforts; instead, several accounts have funding available for relevant activities.
....In two of the four FY2020 coronavirus supplemental appropriations acts (P.L. 116-123 and P.L. 116-136), funding was made available for vaccine-related efforts to accounts at NIH, DOD, and the Public Health and Social Services Emergency Fund (PHSSEF)....In particular, up to roughly $30 billion (accounting for set-asides and transfers) in the PHSSEF account is available for vaccine development, manufacturing, and purchase until September 30, 2024.
This was all part of two bills passed in March of 2020, two months before Trump announced OWS. Was it enough? So far less than $20 billion has been spent, so I'd guess that it was. OWS has been a pretty good program, primarily aimed at guaranteeing purchases of vaccines as a way of reducing risk for vaccine developers, and it sure seems to have worked. Both Congress and the Trump administration seem like they handled it pretty well.