chore(deps): update terraform google provider to v6 #2579
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>= 5.26, < 6
->>= 5.26, < 7
6.1.0
>= 5.26, < 6
->>= 5.26, < 7
6.1.0
Release Notes
hashicorp/terraform-provider-google (google)
v6.0.1
Compare Source
BREAKING CHANGES:
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
Compare Source
Terraform Google Provider 6.0.0 Upgrade Guide
BREAKING CHANGES:
goog-terraform-provisioned: true
label by default. (#19190)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)network
ingoogle_alloy_db_cluster
. Usenetwork_config.network
instead. (#19181)google_bigquery_table
resource (#18767)allow_resource_tags_on_deletion
fromgoogle_bigquery_table
. Resource tags are now always allowed on table deletion. (#19077)multi_region_auxiliary
fromgoogle_bigquery_reservation
(#18922)id
forgoogle_billing_project_info
(#18823)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)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)containers.env
to SET from ARRAY forgoogle_cloud_run_v2_service
andgoogle_cloud_run_v2_job
. (#18855)ip_allocation_policy = []
ingoogle_composer_environment
is no longer valid configuration. Removing the field from configuration should not produce a diff. (#19207)enabled
ingoogle_compute_backend_service
andgoogle_compute_region_backend_service
(#18772)certifcate_id
ingoogle_compute_managed_ssl_certificate
to correctly be output only. (#19069)connection_draining_timeout_sec
,balancing_mode
andoutlier_detection
ingoogle_compute_region_backend_service
andgoogle_compute_backend_service
. (#18720)id
forcompute_network_endpoints
(#18844)guest_accelerator = []
is no longer valid configuration ingoogle_compute_instance
. To explicitly set an empty list of objects, set guest_accelerator.count = 0. (#19207)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)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)advanced_datapath_observability_config.enable_relay
required ingoogle_container_cluster
(#19060)advanced_datapath_observability_config.relay_mode
fromgoogle_container_cluster
resource. Users are expected to useenable_relay
field instead. (#19060)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)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)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)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)google_datastore_index
in favor ofgoogle_firestore_index
(#19160)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)google_identity_platform_project_default_config
in favor ofgoogle_identity_platform_project_config
(#18992)schema_settings
ingoogle_pubsub_topic
to be removed (#18631)create_sample_workflows
andprovision_gmek
fromgoogle_integrations_client
(#19148)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)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)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)settings.ip_configuration.require_ssl
ingoogle_sql_database_instance
. Please usesettings.ip_configuration.ssl_mode
instead. (#18843)no_age
field fromlifecycle_rule.condition
in thegoogle_storage_bucket
resource (#19048)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)min_throughput
andmin_instances
fields ongoogle_vpc_access_connector
(#18697)max_throughput
andmax_instances
fields ongoogle_vpc_access_connector
(#18697)host.gce_instance.disable_ssh
to true forgoogle_workstations_workstation_config
(#19101)IMPROVEMENTS:
reserved_internal_range
andsecondary_ip_ranges[].reserved_internal_range
togoogle_compute_subnetwork
resource (#19151)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:
enabled
field by default for nulliap
message ingoogle_compute_backend_service
andgoogle_compute_region_backend_service
(#18772)v5.43.1
Compare Source
v5.43.0
Compare Source
v5.42.0
Compare Source
v5.41.0
Compare Source
v5.40.0
Compare Source
hashicorp/terraform-provider-google-beta (google-beta)
v6.0.1
Compare Source
BREAKING CHANGES:
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. (#8043)v6.0.0
Compare Source
Terraform Google Provider 6.0.0 Upgrade Guide
BREAKING CHANGES:
goog-terraform-provisioned: true
label by default. (#8004)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. (#7837)network
ingoogle_alloy_db_cluster
. Usenetwork_config.network
instead. (#7999)id
forgoogle_billing_project_info
(#7793)google_bigquery_table
resource (#7755)allow_resource_tags_on_deletion
fromgoogle_bigquery_table
. Resource tags are now always allowed on table deletion. (#7940)multi_region_auxiliary
fromgoogle_bigquery_reservation
(#7844)deletion_protection
field togoogle_cloudrunv2_service
to make deleting them require an explicit intent. This field defaults totrue
, preventing accidental deletions. To delete the resource, you must first setdeletion_protection = false
before destroying the resource. (#7901)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. (#7753)containers.env
to SET from ARRAY forgoogle_cloud_run_v2_service
andgoogle_cloud_run_v2_job
. (#7812)ip_allocation_policy = []
ingoogle_composer_environment
is no longer valid configuration. Removing the field from configuration should not produce a diff. (#8011)enabled
ingoogle_compute_backend_service
andgoogle_compute_region_backend_service
(#7758)connection_draining_timeout_sec
,balancing_mode
andoutlier_detection
ingoogle_compute_region_backend_service
andgoogle_compute_backend_service
. (#7723)compute_network_endpoints
(#7806)certifcate_id
field ingoogle_compute_managed_ssl_certificate
resource being incorrectly marked as a user-configurable value when it should just be an output. (#7936)guest_accelerator = []
is no longer valid configuration ingoogle_compute_instance
. To explicitly set an empty list of objects, set guest_accelerator.count = 0. (#8011)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. (#8011)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. (#8011)advanced_datapath_observability_config.enable_relay
required ingoogle_container_cluster
(#7930)advanced_datapath_observability_config.relay_mode
fromgoogle_container_cluster
resource. Users are expected to useenable_relay
field instead. (#7930)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. (#7932)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. (#7932)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. (#8011)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. (#8011)google_datastore_index
in favor ofgoogle_firestore_index
(#7987)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. (#7932)google_identity_platform_project_default_config
in favor ofgoogle_identity_platform_project_config
(#7880)create_sample_workflows
andprovision_gmek
fromgoogle_integrations_client
(#7977)schema_settings
ingoogle_pubsub_topic
to be removed (#7674)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. (#7995)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. (#7903)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. (#7946)no_age
field fromlifecycle_rule.condition
in thegoogle_storage_bucket
resource (#7923)settings.ip_configuration.require_ssl
ingoogle_sql_database_instance
. Please usesettings.ip_configuration.ssl_mode
instead. (#7804)min_throughput
andmin_instances
fields ongoogle_vpc_access_connector
and made them default to values returned from the API when not provided by users (#7709)min_throughput
andmin_instances
fields ongoogle_vpc_access_connector
(#7709)max_throughput
andmax_instances
fields ongoogle_vpc_access_connector
(#7709)host.gce_instance.disable_ssh
to true forgoogle_workstations_workstation_config
(#7946)IMPROVEMENTS:
reserved_internal_range
andsecondary_ip_ranges[].reserved_internal_range
togoogle_compute_subnetwork
resource (#7980)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. (#7981)BUG FIXES:
enabled
field by default for nulliap
message ingoogle_compute_backend_service
andgoogle_compute_region_backend_service
(#7758)v5.43.1
Compare Source
NOTES:
BUG FIXES:
google_pubsub_subscription
resources (#8055)v5.43.0
Compare Source
DEPRECATIONS:
lifecycle_rule.condition.no_age
field ingoogle_storage_bucket
. Use the newlifecycle_rule.condition.send_age_if_zero
field instead. (#7994)FEATURES:
google_kms_ekm_connection_iam_binding
(#7969)google_kms_ekm_connection_iam_member
(#7969)google_kms_ekm_connection_iam_policy
(#7969)google_scc_v2_organization_scc_big_query_exports
(#8002)IMPROVEMENTS:
forwarding_rule_id
on resourcegoogle_compute_forwarding_rule
(#7972)release_channel
field ingoogle_container_cluster
resource (#7973)enable_analytics
parsing to "no preference" in analytics if omitted, instead of explicitly disabling analytics ingoogle_logging_project_bucket_config
. (#7964)idle_timeout
field to thegoogle_network_services_tcp_route
resource (#7996)filter
field in resourcegoogle_pubsub_subscription
(#7968)default_labels
field togoogle_client_config
data source (#7992)google_vmwareengine_private_cloud
(#8005)BUG FIXES:
psc_instance_config
ingoogle_alloydb_instance
resource (#7975)server_tls_policy
property ongoogle_compute_target_https_proxy
resources (#7988)network_ip
on resourcegoogle_compute_instance
(#7971)v5.42.0
Compare Source
DEPRECATIONS:
google_compute_subnetwork.secondary_ip_range = []
to explicitly set a list of empty objects is deprecated and will produce an error in the upcoming major release. Usesend_secondary_ip_range_if_empty
while removingsecondary_ip_range
from config instead. (#7961)FEATURES:
google_artifact_registry_locations
(#7922)google_cloud_identity_transitive_group_memberships
(#7917)google_discovery_engine_schema
(#7963)google_scc_folder_notification_config
(#7928)google_scc_v2_folder_notification_config
(#7927)google_vertex_ai_index_endpoint_deployed_index
(#7931)IMPROVEMENTS:
serial_pipeline.stages.strategy.canary.runtime_config.kubernetes.gateway_service_mesh.pod_selector_label
andserial_pipeline.stages.strategy.canary.runtime_config.kubernetes.service_networking.pod_selector_label
fields togoogle_clouddeploy_delivery_pipeline
resource (#7945)TDX
instance option toconfidential_instance_type
instance ingoogle_compute_instance
(#7913)send_secondary_ip_range_if_empty
togoogle_compute_subnetwork
(#7961)skip_default_schema_creation
field togoogle_data_store
resource (#7900)load_balancer_type
field from required to optional ingoogle_dns_record_set
(#7925)file_stripe_level
,directory_stripe_level
fields togoogle_parallelstore_instance
resource (#7942)update_on_creation_fail
field togoogle_service_networking_connection
resource. When it is set to true, enforce an update of the reserved peering ranges on the existing service networking connection in case of a new connection creation failure. (#7915)server_ca_mode
field togoogle_sql_database_instance
resource (#7886)BUG FIXES:
google_bigquery_dataset_iam_member
non-authoritative. To remove a bigquery dataset iam member, use an authoritative resource likegoogle_bigquery_dataset_iam_policy
(#7960)service_config.environment_variables
field ingoogle_cloudfunctions2_function
resource (#7905)storage_source.generation
ingoogle_cloudfunctions2_function
resource (#7912)google_compute_forwarding_rule
prevented resource deletion (#7958)google_logging_project_bucket_config.enable_analytics
behavior to set "no preference" in analytics if omitted, instead of explicitly disabling analytics. (#19126)google_workbench_instance
metadata drifting when using custom containers. (#7959)v5.41.0
Compare Source
DEPRECATIONS:
skip_delete
field in thegoogle_project
resource. Usedeletion_policy
instead. (#7817)FEATURES:
google_scc_v2_organization_source_iam_policy
(#7888)google_access_context_manager_service_perimeter_dry_run_egress_policy
(#7882)google_access_context_manager_service_perimeter_dry_run_ingress_policy
(#7882)google_scc_v2_folder_mute_config
(#7846)google_scc_v2_project_mute_config
(#7881)google_scc_v2_project_notification_config
(#7892)google_scc_v2_organization_source
(#7888)google_scc_v2_organization_source_iam_binding
(#7888)google_scc_v2_organization_source_iam_member
(#7888)google_scc_v2_organization_source_iam_policy
(#7888)IMPROVEMENTS:
gke.proxy_url
field togoogle_clouddeploy_target
(#7899)binary_authorization.policy
to resourcegoogle_cloud_run_v2_job
and resourcegoogle_cloud_run_v2_service
to support named binary authorization policy. (#7883)google_compute_target_https_proxy.server_tls_policy
field (#7884)google_compute_region_target_https_proxy.server_tls_policy
field (#7891)auto_provisioning_locations
field togoogle_container_cluster
(#7849)kms_key_name
field togoogle_dataform_repository
resource (#7855)skip_default_schema_creation
field togoogle_discovery_engine_data_store
resource (#7900)configmanagement.management
andconfigmanagement.config_sync.enabled
fields togoogle_gkehub_feature_membership
(#7899)management
field togoogle_gke_hub_feature.fleet_default_member_config.configmanagement
(#7862)deletion_policy
field to thegoogle_project
resource. Settingdeletion_policy
toPREVENT
will protect the project against any destroy actions caused by a terraform apply or terraform destroy. Settingdeletion_policy
toABANDON
allows the resource to be abandoned rather than deleted and it behaves the same withskip_delete = true
. Default value isDELETE
.skip_delete = true
takes precedence overdeletion_policy = "DELETE"
.force_destroy
field togoogle_storage_managed_folder
resource (#7867)generation
field togoogle_storage_bucket_object
resource (#7866)BUG FIXES:
google_compute_instance.alias_ip_range
update behavior to avoid temporarily deleting unchanged alias IP ranges (#7898)google_compute_forwarding_rule
resource when provider default labels are set (#7873)settings.insights_config
ingoogle_sql_database_instance
(#7861)v5.40.0
Compare Source
IMPROVEMENTS:
DELTA_LAKE
tosource_format
ingoogle_bigquery_table
resource (#7841)access_mode
field togoogle_compute_disk
resource (#7813)stack_type
, andgateway_ip_version
fields togoogle_compute_router
resource (#7801)ray_operator_config
forresource_container_cluster
(#7795)goal
field to accept a max threshold of up to 0.9999 ingoogle_monitoring_slo
resource to 0.9999 (#7807)export_psc
field togoogle_network_connectivity_hub
resource (#7816)enable_dataplex_integration
field togoogle_sql_database_instance
resource (#7810)BUG FIXES:
params
in thegoogle_bigquery_data_transfer_config
resource (#7833)params
from being assigned values ingoogle_bigquery_data_transfer_config
(#7828)google_compute_router
(#7818)node_config.guest_accelerator.gpu_driver_installation_config
field in GKE 1.30+ ingoogle_container_node_pool
resource (#7799)settings.insights_config
ingoogle_sql_database_instance
(#7861)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.