Generate template from existing VM
Have a feature that would auto-generate the template for CDM from an existing VM. Extract startup tasks, cron jobs and the list of software and libraries installed, along with any customized configurations (MVP might only include common configs seen in a LAMP stack.)
1) I have a brownfield project, it lives on a VM (created awhile ago) that I have imported from another host. My hope would be that this feature would help rebuild the environment onto one of Compute Engine's preconfigured operating system images.
2) Created instance, added to it over time, decided I want to start using Cloud Deployment manager.
Ben Tucker commented
Yes, yes, yes! +1 Thank you for asking this question and thanks to those who've pointed out genconfig. I have high hopes for that. Testing it out next.
For bonus points: I'd like something like resources.azure.com where you can make changes and browse the resulting config in near-real-time. Every cloud provider should have that.
Onur Uluag commented
Will "genconfig" support most of the resource types in the future? Such as Pub/Sub topics, BQ datasets and tables etc.
It would be extremely useful when copying "all" project resources from development to test or production environments.
There is an alpha version of this on our github repo that may be worth checking out.
There is an autogen tool posted on the github repo. It's an alpha, but may be worth checking out.