google.cloud 1.14.0 - Whats New and How to Test
Introduction
google.cloud is the Ansible collection that provides modules and plugins for managing Google Cloud Platform resources, including Compute Engine, Cloud Storage, IAM, AlloyDB, Cloud Build, Colab, and Vertex AI. Version 1.14.0 has just landed on Ansible Galaxy, and this post covers exactly what changed and how to install and verify it.
Whats New
This release is a minor version bump and, based on the collection's own changelog, contains a single change: several groups of modules have been migrated to a shared, updated module_utils base.
Minor Changes
gcp_alloydb_*,gcp_cloudbuild_*,gcp_colab_*,gcp_vertexai_*modules now useplugins/module_utils/gcp_v2.pyinstead of their previous module_utils implementation (PR #763).
This is an internal refactor rather than a behavioral or interface change for playbook authors. The affected module families are:
| Module family | Resource area |
|---|---|
gcp_alloydb_* | AlloyDB clusters and instances |
gcp_cloudbuild_* | Cloud Build triggers and workers |
gcp_colab_* | Vertex AI Colab Enterprise runtimes |
gcp_vertexai_* | Vertex AI endpoints, models, and datasets |
Consolidating these modules onto gcp_v2.py brings them in line with the newer GCP module_utils pattern already used elsewhere in the collection, which should make future maintenance and bugfixes across these four resource families more consistent.
No other minor changes, bugfixes, or breaking changes are listed in the changelog for this version.
How to Install and Test
# Install (or upgrade to) google.cloud 1.14.0
ansible-galaxy collection install google.cloud:1.14.0 --force
# Verify the installed version
ansible-galaxy collection list google.cloud
# Inspect the changelog shipped with the collection
find ~/.ansible/collections/ansible_collections/google/cloud -iname "CHANGELOG.rst"
# Quick sanity check on one of the affected modules
ansible-doc google.cloud.gcp_vertexai_endpoint
If the required Python dependencies (google-auth, requests) are not already present, install them before running any playbooks against real GCP resources:
pip install google-auth requests
As always, run any AlloyDB, Cloud Build, Colab, or Vertex AI playbooks in check mode first (--check --diff) against a non-production project to confirm the module_utils migration has not introduced any unexpected behavior in your environment.