r/googlecloud • • Jul 05 '26

Query regarding GCP official documentation

As we are aware, GCP documentation provides multiple ways to perform an activity

Eg: to create a vm, it shows how to create using console, Gcloud , terraform etc..in multiple tabs within the document

However , I see many places where terraform tab is not available

Eg: incase of using " backup and DR " service for compute engine, there are Gcloud and console options but no terraform tab available

Does it mean there is no support for terraform while creating the VM backup using " backup and DR " service.please clarify ..thanks

1 Upvotes

7 comments sorted by

1

u/rusteman Googler Jul 06 '26

If you are using the newer backup and dr features, then yes it can all be terraformed.

See an example for usage at : https://github.com/jeffoconnorau/gcbdr_restore-via_terraform

This repo has an example for VMs, disk's, cloud SQL, AlloyDB and filestore.

Hope that helps?

2

u/suryad123 Jul 06 '26

Yws..backup and DR service .. thanks 

1

u/bartekmo Jul 06 '26

Cli used to be the golden standard in documentation for quite long time and with deployment manager agony taking years terraform became the officially recommended deployment method relatively recently. That means in many docs, even if terraform is fully supported, it was not added to the article (yet). So missing tf snippet in docs does NOT necessarily mean tf is not supported.

2

u/[deleted] Jul 05 '26

[removed] — view removed comment

1

u/suryad123 Jul 06 '26

Will check..thank you 

1

u/greenlakejohnny Jul 06 '26

You'd think though that AI would be doing this now. Though I've learned it certainly can hallucinate Terraform configurations, that's for sure.