chore(deps): update Terraform `google` provider to `>= v5`
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
google (source) | required_provider | major |
~> 5.0 -> >= 5.0
|
EDIT: Manually changed by @dkh21 and @rjw57 to the version range stated above (Renovate suggested ~6.0
). Version requirements for other providers and minimum version of Terraform changed to >=
as well instead of ~
.
Release Notes
hashicorp/terraform-provider-google (google)
v6.1.0
FEATURES:
-
New Data Source:
google_kms_crypto_key_latest_version
(#19249) -
New Data Source:
google_kms_crypto_key_versions
(#19241)
IMPROVEMENTS:
- databasemigrationservice: added support in
google_database_migration_service_connection_profile
for creating DMS connection profiles that link to existing Cloud SQL instances/AlloyDB clusters. (#19291) - alloydb: added
subscription_type
andtrial_metadata
field togoogle_alloydb_cluster
resource (#19262) - bigquery: added
encryption_configuration
field togoogle_bigquery_data_transfer_config
resource (#19267) - bigqueryanalyticshub: added
selected_resources
, andrestrict_direct_table_access
togoogle_bigquery_analytics_hub_listing
resource (#19244) - bigqueryanalyticshub: added
sharing_environment_config
togoogle_bigquery_analytics_hub_data_exchange
resource (#19244) - cloudtasks: added
http_target
field togoogle_cloud_tasks_queue
resource (#19253) - compute: added
accelerators
field togoogle_compute_node_template
resource (#19292) - compute: allowed disabling
server_tls_policy
during update ingoogle_compute_target_https_proxy
resources (#19233) - container: added
secret_manager_config
field togoogle_container_cluster
resource (#19288) - datastream: added
transaction_logs
andchange_tables
to thedatastream_stream
resource (#19248) - discoveryengine: added
chunking_config
andlayout_parsing_config
fields togoogle_discovery_engine_data_store
resource (#19274) - dlp: added
inspect_template_modified_cadence
field tobig_query_target
andcloud_sql_target
ingoogle_data_loss_prevention_discovery_config
resource (#19282) - dlp: added
tag_resources
field togoogle_data_loss_prevention_discovery_config
resource (#19282) - networksecurity: promoted
google_network_security_client_tls_policy
to GA (#19293)
BUG FIXES:
- bigquery: fixed an error which could occur with email field values containing non-lower-case characters in
google_bigquery_dataset_access
resource (#19259) - bigqueryanalyticshub: made
bigquery_dataset
immutable ingoogle_bigquery_analytics_hub_listing
as it was not updatable in the API. Now modifying the field in Terraform will correctly recreate the resource rather than causing Terraform to report it would attempt an invalid update. (#19244) - container: fixed update inconsistency in
google_container_cluster
resource (#19247) - pubsub: fixed a validation bug that didn't allow empty filter definitions for
google_pubsub_subscription
resources (#19284) - resourcemanager: fixed a bug where data.google_client_config failed silently when inadequate credentials were used to configure the provider (#19286)
- sql: fixed importing
google_sql_user
wherehost
is an IPv4 CIDR (#19243) - sql: fixed overwriting of
name
field for IAM Group user ingoogle_sql_user
resource (#19234)
v6.0.1
BREAKING CHANGES:
- sql: removed
settings.ip_configuration.require_ssl
fromgoogle_sql_database_instance
in favor ofsettings.ip_configuration.ssl_mode
. This field was intended to be removed in 6.0.0. (#19263)
v6.0.0
Terraform Google Provider 6.0.0 Upgrade Guide
BREAKING CHANGES:
- provider: changed provider labels to add the
goog-terraform-provisioned: true
label by default. (#19190) - activedirectory: added
deletion_protection
field togoogle_active_directory_domain
resource. This field defaults totrue
, preventing accidental deletions. To delete the resource, you must first setdeletion_protection = false
before destroying the resource. (#18906) - alloydb: removed
network
ingoogle_alloy_db_cluster
. Usenetwork_config.network
instead. (#19181) - bigquery: added client-side validation to prevent table view creation if schema contains required fields for
google_bigquery_table
resource (#18767) - bigquery: removed
allow_resource_tags_on_deletion
fromgoogle_bigquery_table
. Resource tags are now always allowed on table deletion. (#19077) - bigqueryreservation: removed
multi_region_auxiliary
fromgoogle_bigquery_reservation
(#18922) - billing: revised the format of
id
forgoogle_billing_project_info
(#18823) - cloudrunv2: added
deletion_protection
field togoogle_cloudrunv2_service
. This field defaults totrue
, preventing accidental deletions. To delete the resource, you must first setdeletion_protection = false
before destroying the resource.(#19019) - cloudrunv2: changed
liveness_probe
to no longer infer a default value from api ongoogle_cloud_run_v2_service
. Removing this field and applying the change will now remove liveness probe from the Cloud Run service. (#18764) - cloudrunv2: retyped
containers.env
to SET from ARRAY forgoogle_cloud_run_v2_service
andgoogle_cloud_run_v2_job
. (#18855) - composer:
ip_allocation_policy = []
ingoogle_composer_environment
is no longer valid configuration. Removing the field from configuration should not produce a diff. (#19207) - compute: added new required field
enabled
ingoogle_compute_backend_service
andgoogle_compute_region_backend_service
(#18772) - compute: changed
certifcate_id
ingoogle_compute_managed_ssl_certificate
to correctly be output only. (#19069) - compute: revised and in some cases removed default values of
connection_draining_timeout_sec
,balancing_mode
andoutlier_detection
ingoogle_compute_region_backend_service
andgoogle_compute_backend_service
. (#18720) - compute: revised the format of
id
forcompute_network_endpoints
(#18844) - compute:
guest_accelerator = []
is no longer valid configuration ingoogle_compute_instance
. To explicitly set an empty list of objects, set guest_accelerator.count = 0. (#19207) - compute:
google_compute_instance_from_template
andgoogle_compute_instance_from_machine_image
network_interface.alias_ip_range, network_interface.access_config, attached_disk, guest_accelerator, service_account, scratch_disk
can no longer be set to an empty block[]
. Removing the fields from configuration should not produce a diff. (#19207) - compute:
secondary_ip_ranges = []
ingoogle_compute_subnetwork
is no longer valid configuration. To set an explicitly empty list, usesend_secondary_ip_range_if_empty
and completely removesecondary_ip_range
from config. (#19207) - container: made
advanced_datapath_observability_config.enable_relay
required ingoogle_container_cluster
(#19060) - container: removed deprecated field
advanced_datapath_observability_config.relay_mode
fromgoogle_container_cluster
resource. Users are expected to useenable_relay
field instead. (#19060) - container: three label-related fields are now in
google_container_cluster
resource.resource_labels
field is non-authoritative and only manages the labels defined by the users on the resource through Terraform. The new output-onlyterraform_labels
field merges the labels defined by the users on the resource through Terraform and the default labels configured on the provider. The new output-onlyeffective_labels
field lists all of labels present on the resource in GCP, including the labels configured through Terraform, the system, and other clients. (#19062) - container: made three fields
resource_labels
,terraform_labels
, andeffective_labels
be present ingoogle_container_cluster
datasources. All three fields will have all of labels present on the resource in GCP including the labels configured through Terraform, the system, and other clients, equivalent toeffective_labels
on the resource. (#19062) - container:
guest_accelerator = []
is no longer valid configuration ingoogle_container_cluster
andgoogle_container_node_pool
. To explicitly set an empty list of objects, set guest_accelerator.count = 0. (#19207) - container:
guest_accelerator.gpu_driver_installation_config = []
andguest_accelerator.gpu_sharing_config = []
are no longer valid configuration ingoogle_container_cluster
andgoogle_container_node_pool
. Removing the fields from configuration should not produce a diff. (#19207) - datastore: removed
google_datastore_index
in favor ofgoogle_firestore_index
(#19160) - edgenetwork: three label-related fields are now in
google_edgenetwork_network
andgoogle_edgenetwork_subnet
resources.labels
field is non-authoritative and only manages the labels defined by the users on the resource through Terraform. The new output-onlyterraform_labels
field merges the labels defined by the users on the resource through Terraform and the default labels configured on the provider. The new output-onlyeffective_labels
field lists all of labels present on the resource in GCP, including the labels configured through Terraform, the system, and other clients. (#19062) - identityplatform: removed resource
google_identity_platform_project_default_config
in favor ofgoogle_identity_platform_project_config
(#18992) - pubsub: allowed
schema_settings
ingoogle_pubsub_topic
to be removed (#18631) - integrations: removed
create_sample_workflows
andprovision_gmek
fromgoogle_integrations_client
(#19148) - redis: added a
deletion_protection_enabled
field to thegoogle_redis_cluster
resource. This field defaults totrue
, preventing accidental deletions. To delete the resource, you must first setdeletion_protection_enabled = false
before destroying the resource. (#19173) - resourcemanager: added
deletion_protection
field togoogle_folder
to make deleting them require an explicit intent. Folder resources now cannot be destroyed unlessdeletion_protection = false
is set for the resource. (#19021) - resourcemanager: made
deletion_policy
ingoogle_project
'PREVENT' by default. This makes deleting them require an explicit intent.google_project
resources cannot be destroyed unlessdeletion_policy
is set to 'ABANDON' or 'DELETE' for the resource. (#19114) - sql: removed
settings.ip_configuration.require_ssl
ingoogle_sql_database_instance
. Please usesettings.ip_configuration.ssl_mode
instead. (#18843) - storage: removed
no_age
field fromlifecycle_rule.condition
in thegoogle_storage_bucket
resource (#19048) - vpcaccess: removed default values for
min_throughput
andmin_instances
fields ongoogle_vpc_access_connector
and made them default to values returned from the API when not provided by users (#18697) - vpcaccess: added a conflicting fields restriction between
min_throughput
andmin_instances
fields ongoogle_vpc_access_connector
(#18697) - vpcaccess: added a conflicting fields restriction between
max_throughput
andmax_instances
fields ongoogle_vpc_access_connector
(#18697) - workstation: defaulted
host.gce_instance.disable_ssh
to true forgoogle_workstations_workstation_config
(#19101) IMPROVEMENTS: - compute: added fields
reserved_internal_range
andsecondary_ip_ranges[].reserved_internal_range
togoogle_compute_subnetwork
resource (#19151) - compute: changed the behavior of
name_prefix
in multiple Compute resources to allow for a longer max length of 54 characters. See the upgrade guide and resource documentation for more details. (#19152) BUG FIXES: - compute: fixed an issue regarding sending
enabled
field by default for nulliap
message ingoogle_compute_backend_service
andgoogle_compute_region_backend_service
(#18772)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.