How to create wordpress VM in GCP using terraform?

Hello, I have a WordPress site in GCP VM, now I want to automate my infrastructure and create VM in GCP with an already WordPress setup.
How can I achieve that?

Thanks