We attempted to do something similar with my last company (Atomized YC S20). We had a vision of creating an "app store" approach to infrastructure. The hardest problem we ran into wasn't build out the engine that did all the work but actually creating the templates and ensuring that everything was built with best practices in mind. Another issue we ran into was all the options that were available such as instance size. We ended up failing as a company because we couldn't find that balance between giving too much (and essentially re-creating the AWS Console UI) and giving too little with a "one-click" approach.
I still believe there is a market for this - but I'm not sure how big of a market it is to be honest. There is definitely a need for a product like this to exist though.