google breaking changes
Terraform Google provider, published as hashicorp/google.
Latest v8.12.0, released ยท 7 releases that list breaking changes in the last 12 months
The versions on this page are read from the Terraform Registry and from GitHub. No other registry is read, so a version listed here may be missing from another registry.
Pick your version
Every release from v7.0.0 up to v8.12.0: 14 releases with breaking changes, 75 changes
Breaking changes
This list is read from the release notes by a script each night and is not reviewed by a person. The script follows rules and can miss or misread an entry. Each release in the list links its notes.
v8.0.0
MajorRelease notes for v8.0.0Upgrade guide for v8.0.0
google_beyondcorp_app_connection
- beyondcorp: removed google_beyondcorp_app_connection, google_beyondcorp_app_connector, and google_beyondcorp_app_gateway resources, and the google_beyondcorp_app_connection, google_beyondcorp_app_connector, and google_beyondcorp_app_gateway data sources. Use google_beyondcorp_security_gateway and google_beyondcorp_security_gateway_application instead. Source for google_beyondcorp_app_connection in v8.0.0
google_beyondcorp_app_connector
- beyondcorp: removed google_beyondcorp_app_connection, google_beyondcorp_app_connector, and google_beyondcorp_app_gateway resources, and the google_beyondcorp_app_connection, google_beyondcorp_app_connector, and google_beyondcorp_app_gateway data sources. Use google_beyondcorp_security_gateway and google_beyondcorp_security_gateway_application instead. Source for google_beyondcorp_app_connector in v8.0.0
google_beyondcorp_app_gateway
- beyondcorp: removed google_beyondcorp_app_connection, google_beyondcorp_app_connector, and google_beyondcorp_app_gateway resources, and the google_beyondcorp_app_connection, google_beyondcorp_app_connector, and google_beyondcorp_app_gateway data sources. Use google_beyondcorp_security_gateway and google_beyondcorp_security_gateway_application instead. Source for google_beyondcorp_app_gateway in v8.0.0
google_beyondcorp_security_gateway
- beyondcorp: removed google_beyondcorp_app_connection, google_beyondcorp_app_connector, and google_beyondcorp_app_gateway resources, and the google_beyondcorp_app_connection, google_beyondcorp_app_connector, and google_beyondcorp_app_gateway data sources. Use google_beyondcorp_security_gateway and google_beyondcorp_security_gateway_application instead. Source for google_beyondcorp_security_gateway in v8.0.0
google_beyondcorp_security_gateway_application
- beyondcorp: removed google_beyondcorp_app_connection, google_beyondcorp_app_connector, and google_beyondcorp_app_gateway resources, and the google_beyondcorp_app_connection, google_beyondcorp_app_connector, and google_beyondcorp_app_gateway data sources. Use google_beyondcorp_security_gateway and google_beyondcorp_security_gateway_application instead. Source for google_beyondcorp_security_gateway_application in v8.0.0
google_iap_brand
- iap: removed google_iap_brand and google_iap_client resources, and the google_iap_client data source. Source for google_iap_brand in v8.0.0
google_iap_client
- iap: removed google_iap_brand and google_iap_client resources, and the google_iap_client data source. Source for google_iap_client in v8.0.0
google_ml_engine_model
- mlengine: removed google_ml_engine_model resource. Migrate machine learning deployments to google_vertex_ai_endpoint or Vertex AI Model Garden resources. Source for google_ml_engine_model in v8.0.0
google_vertex_ai_endpoint
- mlengine: removed google_ml_engine_model resource. Migrate machine learning deployments to google_vertex_ai_endpoint or Vertex AI Model Garden resources. Source for google_vertex_ai_endpoint in v8.0.0
google_notebooks_environment
- notebooks: removed google_notebooks_environment, google_notebooks_instance (and associated IAM resources), and google_notebooks_runtime (and associated IAM resources). Migrate to google_workbench_instance. Source for google_notebooks_environment in v8.0.0
google_notebooks_instance
- notebooks: removed google_notebooks_environment, google_notebooks_instance (and associated IAM resources), and google_notebooks_runtime (and associated IAM resources). Migrate to google_workbench_instance. Source for google_notebooks_instance in v8.0.0
google_notebooks_runtime
- notebooks: removed google_notebooks_environment, google_notebooks_instance (and associated IAM resources), and google_notebooks_runtime (and associated IAM resources). Migrate to google_workbench_instance. Source for google_notebooks_runtime in v8.0.0
google_workbench_instance
- notebooks: removed google_notebooks_environment, google_notebooks_instance (and associated IAM resources), and google_notebooks_runtime (and associated IAM resources). Migrate to google_workbench_instance. Source for google_workbench_instance in v8.0.0
google_vertex_ai_schedule
- vertexai: removed google_vertex_ai_schedule resource. Use google_colab_schedule instead. Source for google_vertex_ai_schedule in v8.0.0
google_colab_schedule
- vertexai: removed google_vertex_ai_schedule resource. Use google_colab_schedule instead. Source for google_colab_schedule in v8.0.0
google_backup_dr_backup_plan_associations
- backupdr: removed resource_type argument from google_backup_dr_backup_plan_associations and google_backup_dr_data_source_references data sources. Source for google_backup_dr_backup_plan_associations in v8.0.0
google_backup_dr_data_source_references
- backupdr: removed resource_type argument from google_backup_dr_backup_plan_associations and google_backup_dr_data_source_references data sources. Source for google_backup_dr_data_source_references in v8.0.0
google_cloud_run_v2_worker_pool
- cloudrunv2: removed custom_audiences field from google_cloud_run_v2_worker_pool resource. Source for google_cloud_run_v2_worker_pool in v8.0.0
- cloudrunv2: removed http_get.http_headers.port probe field from google_cloud_run_v2_worker_pool resource. Source for google_cloud_run_v2_worker_pool in v8.0.0
- cloudrunv2: made http_get.http_headers.name required when http_get.http_headers is set in google_cloud_run_v2_worker_pool resource. Source for google_cloud_run_v2_worker_pool in v8.0.0
google_compute_interconnect_attachment_group
- compute: removed attachment attribute within logical_structure.*.zones from google_compute_interconnect_attachment_group resource in favor of attachments. Source for google_compute_interconnect_attachment_group in v8.0.0
google_compute_reservation
- compute: removed reservation_block_count field from google_compute_reservation resource in favor of resource_status[0].reservation_block_count. Source for google_compute_reservation in v8.0.0
google_data_loss_prevention_job_trigger
- datalossprevention: removed actions.publish_findings_to_cloud_data_catalog field from google_data_loss_prevention_job_trigger resource in favor of actions.publish_findings_to_dataplex_catalog. Source for google_data_loss_prevention_job_trigger in v8.0.0
google_integrations_client
- integrations: removed run_as_service_account argument from google_integrations_client resource. Source for google_integrations_client in v8.0.0
google_bigquery_data_transfer_config
- bigquerydatatransfer: changed constraint between sensitive_params.0.secret_access_key and sensitive_params.0.secret_access_key_wo from AtLeastOneOf to ExactlyOneOf in google_bigquery_data_transfer_config resource. Source for google_bigquery_data_transfer_config in v8.0.0
- bigquerydatatransfer: converted sensitive_params.0.secret_access_key_wo_version from Integer to String data type with state migration in google_bigquery_data_transfer_config resource. Source for google_bigquery_data_transfer_config in v8.0.0
google_iam_workforce_pool_provider_scim_tenant
- iamworkforcepool: made claim_mapping a required field on create in google_iam_workforce_pool_provider_scim_tenant resource. Source for google_iam_workforce_pool_provider_scim_tenant in v8.0.0
google_monitoring_uptime_check_config
- monitoring: changed constraint between http_check.0.auth_info.0.password and http_check.0.auth_info.0.password_wo to ExactlyOneOf in google_monitoring_uptime_check_config resource. Source for google_monitoring_uptime_check_config in v8.0.0
google_secret_manager_secret_version
- secretmanager: made secret_data_wo_version required when secret_data_wo is set (RequiredWith) in google_secret_manager_secret_version resource. Source for google_secret_manager_secret_version in v8.0.0
- secretmanager: converted secret_data_wo_version from Integer to String data type with state migration in google_secret_manager_secret_version resource. Source for google_secret_manager_secret_version in v8.0.0
google_workflows_workflow
- workflows: made source_contents a required argument in google_workflows_workflow resource. Source for google_workflows_workflow in v8.0.0
google_bigquery_dataset
- bigquery: removed default_from_api for default_collation in google_bigquery_dataset resource; setting default_collation = "" now explicitly clears collation. Source for google_bigquery_dataset in v8.0.0
google_cloud_security_compliance_framework
- cloudsecuritycompliance: converted cloud_control_details from list to set in google_cloud_security_compliance_framework resource. Source for google_cloud_security_compliance_framework in v8.0.0
google_compute_service_attachment
- compute: added default empty strings ("") to project_id_or_num, network_url, and endpoint_url within consumer_accept_lists in google_compute_service_attachment resource to resolve permadiffs. Source for google_compute_service_attachment in v8.0.0
- compute: converted nat_subnets and consumer_reject_lists from list to set in google_compute_service_attachment resource. Source for google_compute_service_attachment in v8.0.0
google_compute_backend_service
- compute: changed default value of load_balancing_scheme from EXTERNAL to EXTERNAL_MANAGED in google_compute_backend_service and google_compute_global_forwarding_rule resources. Source for google_compute_backend_service in v8.0.0
google_compute_global_forwarding_rule
- compute: changed default value of load_balancing_scheme from EXTERNAL to EXTERNAL_MANAGED in google_compute_backend_service and google_compute_global_forwarding_rule resources. Source for google_compute_global_forwarding_rule in v8.0.0
google_compute_instance
- compute: updated guest_accelerator in google_compute_instance to plan and apply removal/replacement when count is explicitly set to 0 (or guest_accelerator = []). Source for google_compute_instance in v8.0.0
google_container_node_pool
- container: extended name_prefix max length from 14 to 31 characters in google_container_node_pool and google_container_cluster resources. Source for google_container_node_pool in v8.0.0
google_container_cluster
- container: extended name_prefix max length from 14 to 31 characters in google_container_node_pool and google_container_cluster resources. Source for google_container_cluster in v8.0.0
- container: converted enable_components in logging_config and monitoring_config from list to set in google_container_cluster resource. Source for google_container_cluster in v8.0.0
v7.30.0
google_apigee_env_keystore
- apigee: fixed google_apigee_env_keystore to require the name field which is mandatory in the Apigee API Source for google_apigee_env_keystore in v7.30.0
v7.27.0
google_lustre_instance
- lustre: marked maintenance_policy.weekly_maintenance_windows field required in google_lustre_instance resource. Configuring maintenance_policy without weekly_maintenance_windows will cause an API error. Source for google_lustre_instance in v7.27.0
v7.26.0
google_compute_region_backend_bucket
- compute: Removed google_compute_region_backend_bucket from the google (GA) provider. It is currently beta-only, and calls to the nonexistent GA API always returned a 404. Until released in google, use google-beta instead. Source for google_compute_region_backend_bucket in v7.26.0
v7.18.0
google_backup_dr_backup_plan_association
- alloydb: removed the incorrect top-level field last_successful_backup_consistency_time from google_backup_dr_backup_plan_association. No value has been present in this output-only field. Source for google_backup_dr_backup_plan_association in v7.18.0
v7.17.0
google_network_connectivity_multicloud_data_transfer_config
- networkconnectivity: changed services in google_network_connectivity_multicloud_data_transfer_config from TypeList to TypeSet. The order of or value of interpolations referencing the field may change. Source for google_network_connectivity_multicloud_data_transfer_config in v7.17.0
v7.15.0
google_compute_vpn_tunnel
- compute: changed cipher_suite fields in the google_compute_vpn_tunnel resource to track order Source for google_compute_vpn_tunnel in v7.15.0
v7.11.0
google_netapp_volume
- netapp: made google_netapp_volume.export_policy.rules.squash_mode not preserve values returned by the API. Without this change, unsetting squash_mode in the provider can cause an API error. Source for google_netapp_volume in v7.11.0
v7.10.0
google_alloydb_cluster
- alloydb: marked initial_user.password as required on create of new google_alloydb_cluster resources. This change aligns the provider with existing API constraints to surface errors earlier. Source for google_alloydb_cluster in v7.10.0
v7.9.0
- beyondcorp: made the ports field in endpoint_matchers required in response to a change in the API surface. Source for this change in v7.9.0
v7.7.0
google_discovery_engine_data_connector
- discoveryengine: changed type of google_discovery_engine_data_connector.entities.params. Previously, it was a map of string keys to string values; now, it must be a JSON-encoded string containing an object. This change is being made in a minor release because the field wasn't usable as intended, specifically, all current valid uses require mapping strings to _lists_ of strings. Source for google_discovery_engine_data_connector in v7.7.0
v7.6.0
google_storage_insights_dataset_config
- storageinsights: removed activity_data_retention_period_days field from google_storage_insights_dataset_config resource due to a delayed launch. It will be readded when the feature launches. Source for google_storage_insights_dataset_config in v7.6.0
Other changes
- container: node_config blocks that had set kubelet_config without explicitly setting cpu_cfs_quota implicitly set cfu_cfs_quota to false when unset. From this version onwards, an unset cpu_cfs_quota will instead match the API default of true true. Resources that are recreated will receive the new value; old resources are unaffected, and may change values by explicitly setting the intended one. Source for this change in v7.6.0
v7.5.0
google_netapp_volume
- netapp: changed peer_ip_addresses field type from String to Array in google_netapp_volume resource, as it was unusable otherwise Source for google_netapp_volume in v7.5.0
v7.0.0
MajorRelease notes for v7.0.0Upgrade guide for v7.0.0
google_beyondcorp_application
- beyondcorp: removed google_beyondcorp_application, its associated IAM resources google_beyondcorp_application_iam_binding, google_beyondcorp_application_iam_member, and google_beyondcorp_application_iam_policy, and the google_beyondcorp_application_iam_policy datasource. Use google_beyondcorp_security_gateway_application instead. #23999 Source for google_beyondcorp_application in v7.0.0
google_beyondcorp_application_iam_binding
- beyondcorp: removed google_beyondcorp_application, its associated IAM resources google_beyondcorp_application_iam_binding, google_beyondcorp_application_iam_member, and google_beyondcorp_application_iam_policy, and the google_beyondcorp_application_iam_policy datasource. Use google_beyondcorp_security_gateway_application instead. #23999 Source for google_beyondcorp_application_iam_binding in v7.0.0
google_beyondcorp_application_iam_member
- beyondcorp: removed google_beyondcorp_application, its associated IAM resources google_beyondcorp_application_iam_binding, google_beyondcorp_application_iam_member, and google_beyondcorp_application_iam_policy, and the google_beyondcorp_application_iam_policy datasource. Use google_beyondcorp_security_gateway_application instead. #23999 Source for google_beyondcorp_application_iam_member in v7.0.0
google_beyondcorp_application_iam_policy
- beyondcorp: removed google_beyondcorp_application, its associated IAM resources google_beyondcorp_application_iam_binding, google_beyondcorp_application_iam_member, and google_beyondcorp_application_iam_policy, and the google_beyondcorp_application_iam_policy datasource. Use google_beyondcorp_security_gateway_application instead. #23999 Source for google_beyondcorp_application_iam_policy in v7.0.0
google_beyondcorp_security_gateway_application
- beyondcorp: removed google_beyondcorp_application, its associated IAM resources google_beyondcorp_application_iam_binding, google_beyondcorp_application_iam_member, and google_beyondcorp_application_iam_policy, and the google_beyondcorp_application_iam_policy datasource. Use google_beyondcorp_security_gateway_application instead. #23999 Source for google_beyondcorp_security_gateway_application in v7.0.0
google_notebooks_location
- notebooks: removed google_notebooks_location #23607 Source for google_notebooks_location in v7.0.0
google_tpu_node
- tpu: removed google_tpu_node. Use google_tpu_v2_vm instead. #23964 Source for google_tpu_node in v7.0.0
google_tpu_v2_vm
- tpu: removed google_tpu_node. Use google_tpu_v2_vm instead. #23964 Source for google_tpu_v2_vm in v7.0.0
google_colab_runtime_template
- colab: removed post_startup_script_config field from from google_colab_runtime_template resource #24026 Source for google_colab_runtime_template in v7.0.0
google_compute_subnetwork
- compute: removed field enable_flow_logs from google_compute_subnetwork #23704 Source for google_compute_subnetwork in v7.0.0
google_gke_hub_feature_membership
- gkehub: removed configmanagement.binauthz field in google_gke_hub_feature_membership #24076 Source for google_gke_hub_feature_membership in v7.0.0
google_gke_hub_membership
- gkehub: removed description field in google_gke_hub_membership #23587 Source for google_gke_hub_membership in v7.0.0
google_memorystore_instance
- memorystore: removed allow_fewer_zones_deployment field from google_memorystore_instance resource because it isn't user-configurable #24079 Source for google_memorystore_instance in v7.0.0
google_redis_cluster
- redis: removed allow_fewer_zones_deployment field from google_redis_cluster resource because it isn't user-configurable #24079 Source for google_redis_cluster in v7.0.0
google_service_account_key
- resourcemanager: removed non-functional project field from google_service_account_key datasource #24000 Source for google_service_account_key in v7.0.0
google_vertex_ai_endpoint
- vertexai: removed enable_secure_private_service_connect in google_vertex_ai_endpoint #23843 Source for google_vertex_ai_endpoint in v7.0.0
google_cloudfunctions2_function
- cloudfunctions2: made event_type a required field for event_trigger in google_cloudfunctions2_function #23918 Source for google_cloudfunctions2_function in v7.0.0
- cloudfunctions2: changed service_config.service field in google_cloudfunctions2_function resource to be output-only #23790 Source for google_cloudfunctions2_function in v7.0.0
google_network_services_lb_traffic_extension
- networkservices: made load_balancing_scheme required in google_network_services_lb_traffic_extension #23748 Source for google_network_services_lb_traffic_extension in v7.0.0
google_sql_user
- sql: made password_wo_version required when password_wo is set in google_sql_user #24083 Source for google_sql_user in v7.0.0
google_storage_notification
- storage: added validation requiring the topic field to be in the form "projects/<project>/topics/<topic>" in google_storage_notification #24135 Source for google_storage_notification in v7.0.0
- storage: migrated google_storage_notification to the plugin framework #24135 Source for google_storage_notification in v7.0.0
google_storage_transfer_job
- storagetransfer: added path validation for GCS path source and sink in google_storage_transfer_job #23493 Source for google_storage_transfer_job in v7.0.0
google_vertex_ai_index
- vertexai: made metadata, and metadata.config required in google_vertex_ai_index. Resource creation would fail without these attributes already, so no change is necessary to existing configurations. #23971 Source for google_vertex_ai_index in v7.0.0
google_alloydb_cluster
- alloydb: added deletion_protection field with a default value of true to google_alloydb_cluster resource #24024 Source for google_alloydb_cluster in v7.0.0
google_apigee_keystores_aliases_key_cert_file
- apigee: changed certs_info field in google_apigee_keystores_aliases_key_cert_file to be output-only #24135 Source for google_apigee_keystores_aliases_key_cert_file in v7.0.0
- apigee: migrated google_apigee_keystores_aliases_key_cert_file to the plugin framework #24135 Source for google_apigee_keystores_aliases_key_cert_file in v7.0.0
google_artifact_registry_repository
- artifactregistry: removed the default values for public_repository fields in google_artifact_registry_repository. If your state is reliant on them, they will now need to be manually included in your configuration. #23970 Source for google_artifact_registry_repository in v7.0.0
google_bigquery_table
- bigquery: removed the default value of view.use_legacy_sql in google_bigquery_table #24065 Source for google_bigquery_table in v7.0.0
google_billing_budget
- billing: made budget_filter.credit types and budget_filter.subaccounts no longer optional+computed, only optional, in google_billing_budget resource #24078 Source for google_billing_budget in v7.0.0
google_compute_packet_mirroring
- compute: subnetworks and instances fields in google_compute_packet_mirroring have been converted from arrays to sets #24021 Source for google_compute_packet_mirroring in v7.0.0
google_compute_router
- compute: advertised_ip_ranges field group in google_compute_router has been converted from a list to a set #24030 Source for google_compute_router in v7.0.0
google_compute_instance_template
- compute: disk.type, disk.mode and disk.interface no longer use provider configured default values and instead will be set by the API in google_compute_instance_template and google_compute_region_instance_template resources #24055 Source for google_compute_instance_template in v7.0.0
google_compute_region_instance_template
- compute: disk.type, disk.mode and disk.interface no longer use provider configured default values and instead will be set by the API in google_compute_instance_template and google_compute_region_instance_template resources #24055 Source for google_compute_region_instance_template in v7.0.0
google_project_service
- resourcemanager: changed disable_on_destroy default value to false in google_project_service #23951 Source for google_project_service in v7.0.0
google_storage_bucket
- storage: retention_period field in google_storage_bucket has been converted from int to string data type #23535 Source for google_storage_bucket in v7.0.0
Other changes
- cloudrunv2: removed template.containers.depends_on within resource google_cloud_run_v2_worker_pool #23815 Source for this change in v7.0.0
- bigtable: renamed instance to instance_name for bigtable_table_iam objects #23399 Source for this change in v7.0.0
- provider: fixed many import functions throughout the provider that erroneously matched a subset of the provided input, leading to unclear error messages when using terraform input with invalid resource IDs. #24010 Source for this change in v7.0.0
- securesourcemanager: changed deletion_policy default value from DELETE to PREVENT #23963 Source for this change in v7.0.0
Related items
The next retirements and end of support dates for resources managed with the Terraform Google provider.
- Google Kubernetes Engine: Kubernetes 1.34 end of standard supportSource
- Google Kubernetes Engine: Kubernetes 1.32 end of extended supportSource
- Google Kubernetes Engine: Kubernetes 1.35 end of standard supportSource
- Google Kubernetes Engine: Kubernetes 1.33 end of extended supportSource
- Google Kubernetes Engine: Kubernetes 1.36 end of standard supportSource
- Google Kubernetes Engine: Kubernetes 1.34 end of extended supportSource