YAML for GCloud CLI
Execute Google Cloud CLI commands with integration-based authentication.
YAML examples for GCloud CLI
Run Google Cloud CLI commands
yaml
- action: "Google Cloud CLI"
type: "GOOGLE_CLOUD_CLI"
shell: "SH"
integration: "my_integration"
application_name: "my-gcp-project"
version: "latest"
commands: |-
gcloud compute instances list
gcloud storage ls
setup_commands: "gcloud config set project my-gcp-project"
execute_every_command: true
Simple Google Cloud CLI command
yaml
- action: "List GCE instances"
type: "GOOGLE_CLOUD_CLI"
integration: "gcp_integration"
commands: gcloud compute instances list