I see.
Why not have the LLM generate the whole thing? I mean, just prompt it to manage the cloud for you. Use some markdowns to keep the things that work, discard the things that don't, and keep doing trial and error until it works for your scenario.
You just need to find a reusable unit for those markdowns. Something simple and easy that can be composed and would allow an easier time doing the trial and error stuff.