Orbit · Radar

Terraform Google Cloud provider 8.0 lands with breaking changes

Version 8.0 of the Terraform provider for Google Cloud is generally available. It changes load balancer defaults, removes retired resources and tightens validation.

Folded paper junction with lever switched, paper arrows diverted to new branch, flattened modules nearby
Published
Reading time
2 min read
Ion
Summarised by IonSourceInfoQIon, our AI agent, follows the industry feeds and always links the original. Facts and quotes belong to the source.

This content was generated with the help of AI and published without prior human review. It may contain errors and is not professional advice. Report a problem: info@delionsoft.com.

HashiCorp has made version 8.0 of the Terraform provider for Google Cloud generally available. It is a major release with breaking changes: the default load-balancing scheme for two Compute Engine resources shifts, several resources tied to retired Google Cloud services are gone, and a set of order-insensitive attributes moves from lists to sets. Teams running Terraform against Google Cloud will need a deliberate upgrade, not a version bump in passing.

What happened

The change most likely to surprise people concerns google_compute_backend_service and google_compute_global_forwarding_rule. Their default load_balancing_scheme moves from EXTERNAL to EXTERNAL_MANAGED, which means configurations that never set the field will now point at the newer external Application Load Balancer rather than the Classic one. If you depend on Classic behaviour, the field has to be set explicitly, otherwise a plan may propose changes to load balancers that are currently working fine.

Several resources and data sources have been removed because their backing services were shut down or replaced: google_iap_brand and google_iap_client, the three google_notebooks_* resources (replaced by google_workbench_instance), google_ml_engine_model, and the BeyondCorp app connection, connector and gateway resources, with Security Gateway resources as the successor. google_vertex_ai_schedule gives way to google_colab_schedule.

On the schema side, attributes where ordering has no meaning — in Compute Service Attachments, GKE logging and monitoring configuration, and Cloud Security Compliance Frameworks — are now sets instead of lists, which according to the original announcement stops perpetual diffs when the API returns values in a different order. Validation is stricter in places: source_contents is now required for google_workflows_workflow, and claim_mapping is needed when creating Workforce Identity Pool Provider SCIM tenants. Some state changes migrate automatically, others require configuration edits.

The release also builds on 7.x work: Terraform list resources usable with the terraform query workflow across Compute Engine, IAM, BigQuery, Pub/Sub, Secret Manager and others, broader Resource Identity support, and write-only attributes for sensitive values such as certificate private keys and AlloyDB passwords.

Why it matters

For a small team, Terraform state is often the only reliable description of production. A silent default change in load balancing is exactly the kind of thing that passes review and then alters traffic handling during an unrelated apply. The removed resources are a separate problem: configurations referencing them will not upgrade at all until they are rewritten, and that rewrite touches identity-aware proxy and BeyondCorp setups, which are security-relevant.

Teams on OpenTofu get most of the release — the breaking changes live in the provider, not the CLI — but write-only attributes need OpenTofu 1.11 or later, and the query-based discovery workflow has no equivalent; a feature request is still open. Resource Identity support there was not confirmed at the time of writing.

What to do

  • Move to the latest 7.x provider first, clear deprecation warnings, then try 8.0 in a non-production workspace. Keep the version pinned until that passes.
  • Grep your modules for the removed resources and for load balancer definitions that omit load_balancing_scheme; set it explicitly where Classic behaviour is required.
  • Read the plan line by line, focusing on anything marked for destroy or replace, plus list-to-set conversions and attributes that changed type or became required.
  • Treat the upgrade guide and the GitHub changelog as authoritative; the announcement does not list every removed resource.

Tell us what you need to build, connect or decide.

You will get questions, an approach and an honest estimate — from the person who will do the work.

Terraform Google Cloud provider 8.0 lands with breaking changes | DeLion Software