Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

CLI commands from UI

Mattias consistently stresses the advantages of automating your configuration.  In early labs he encourages us to investigate the CLI option after doing the UI lab.  Does anyone know of an option / third party tool etc. for generating CLI scripts for resources (buckets, instance groups etc.) you initially created via the UI?

1 Answers

When you create a resource via Cloud Console, it usually displays a corresponding gcloud command of what you’re doing with the GUI. For example when you create a GCS bucket via Cloud Console, before hitting the [Create] button you will see a "CLI-equivalent" that you can copy and paste to Cloud Shell or to your computer and run it.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?