chore(deps): update terraform google to v5 #638
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:
4.55.0
->5.0.0
Release Notes
hashicorp/terraform-provider-google (google)
v5.0.0
Compare Source
Terraform Google Provider 5.0.0 Upgrade Guide
NOTES:
LABELS REWORK:
default_labels
field are now supported. The default labels configured on the provider will be applied to all of the resources with standardlabels
field.labels
field.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.annotations
field. Theannotations
field is non-authoritative and only manages the annotations defined by the users on the resource through Terraform. The new output-onlyeffective_annotations
field lists all of annotations present on the resource in GCP, including the annotations configured through Terraform, the system, and other clients.labels
,terraform_labels
, andeffective_labels
are now present in most resource-based datasources. All three fields 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.annotations
andeffective_annotations
are now present in most resource-based datasources. Both fields have all of annotations present on the resource in GCP including the annotations configured through Terraform, the system, and other clients, equivalent toeffective_annotations
on the resource.BREAKING CHANGES:
credentials
,access_token
,impersonate_service_account
,project
,billing_project
,region
,zone
(#15968)google_bigquery_table
schema (#15338)routine_type
required forgoogle_bigquery_routine
(#15517)location
required ongoogle_cloudfunctions2_function
(#15830)google_cloudiot_registry_iam_policy
(#15739)google_cloudiot_device
(#15739)google_cloudiot_registry
(#15739)google_cloudiot_registry_iam_*
(#15739)liveness_probe.tcp_socket
fromgoogle_cloud_run_v2_service
resource. (#15430)startup_probe
andliveness_probe
fromgoogle_cloud_run_v2_job
resource. (#15430)volumes.cloud_sql_instance.instances
to SET from ARRAY forgoogle_cloud_run_v2_service
(#15831)google_compute_node_group
require one ofinitial_size
orautoscaling_policy
fields configured upon resource creation (#16006)size
ingoogle_compute_node_group
an output only field. (#16006)rule.rate_limit_options.encorce_on_key
on resourcegoogle_compute_security_policy
(#15681)consumer_accept_lists
to a SET from an ARRAY type forgoogle_compute_service_attachment
(#15985)deletion_protection
togoogle_container_cluster
which is enabled totrue
by default. When enabled, this field prevents Terraform from deleting the resource. (#16013)management.auto_repair
andmanagement.auto_upgrade
defaults to true ingoogle_container_node_pool
(#15931)networking_mode
default toVPC_NATIVE
for newly createdgoogle_container_cluster
resources (#6402)enable_binary_authorization
ingoogle_container_cluster
(#15868)logging_variant
ingoogle_container_node_pool
(#15931)network_policy.provider
ingoogle_container_cluster
(#15920)google_container_cluster
will delete the cluster if it's created in an error state. Instead, it will mark the cluster as tainted, allowing manual inspection and intervention. To proceed with deletion, run anotherterraform apply
. (#15887)taint
field ingoogle_container_cluster
andgoogle_container_node_pool
to only manage a subset of taint keys based on those already in state. Most existing resources are unaffected, unless they usesandbox_config
- see upgrade guide for details. (#15959)data_profile_result
anddata_quality_result
fromgoogle_dataplex_scan
(#15505)deletion_policy
default toDELETE
forgoogle_firebase_web_app
. (#15406)google_firebase_project_location
(#15764)gameservices
(#15558)unique_writer_identity
fromfalse
totrue
ingoogle_logging_project_sink
. (#15743)growth_factor
,num_finite_buckets
, andscale
required forgoogle_logging_metric
(#15680)LOOKER_MODELER
as a possible value ingoogle_looker_instance.platform_edition
(#15956)google_monitoring_dashboard.dashboard_json
by suppressing values returned by the API that are not in configuration (#16014)labels
immutable ingoogle_monitoring_metric_descriptor
(#15988)config_values
,pem_certificates
fromgoogle_privateca_certificate
(#15537)automatic
field ingoogle_secret_manager_secret
resource (#15859)google_service_networking_connection
(#15761)deleteConnection
method to delete the resourcegoogle_service_networking_connection
(#15934)FEATURES:
google_scc_folder_custom_module
(#15979)google_scc_organization_custom_module
(#16012)IMPROVEMENTS:
google_alloydb_instance
andgoogle_alloydb_backup
(#15973)google_artifact_registry_repository
(#15973)google_bare_metal_admin_cluster
to better align with actual behavior (#16010)state
output attribute togoogle_bigtable_instance
clusters (#15961)google_compute_node_group
mutable (#16006)effective_taints
attribute togoogle_container_cluster
andgoogle_container_node_pool
, outputting all known taint values (#15959)addons_config.gcs_fuse_csi_driver_config
ongoogle_container_cluster
withenable_autopilot: true
. (#15996)binary_authorization
togoogle_container_aws_cluster
(#15989)update_settings
togoogle_container_aws_node_pool
(#15989)week_day_of_month.day_offset
field to thegoogle_os_config_patch_deployment
resource (#15997)rotation.rotation_period
field ingoogle_secret_manager_secret
resource (#15952)preferred_zone
field togoogle_sql_database_instance
resource (#15971)event_stream
field togoogle_storage_transfer_job
resource (#16004)BUG FIXES:
external_data_configuration.connection_id
ingoogle_bigquery_table
(#15983)google_bigquery_table
(#15442)google_bigtable_instance
when cluster is still updating and storage type changed (#15961)google_bigtable_instance
(#15940)reconcile_connections
in resourcegoogle_compute_service_attachment
, the field will now default to a value returned by the API when not set in configuration (#15919)enable_endpoint_independent_mapping
with APIs default in resourcegoogle_compute_router_nat
(#15478)google_container_node_pool
where emptylinux_node_config.sysctls
would crash the provider (#15941)google_dataflow_flex_template_job
(#15976)google_dataflow_flex_template_job
(#15976)google_dataflow_flex_template_job
(#15976)sign_in
ingoogle_identity_platform_config
resource (#15907)google_firebase_rules.release
immutable (#15989)metadata
was not able to be updated ingoogle_monitoring_metric_descriptor
(#16014)google_monitoring_notification_channel
failed when no default project was supplied in provider configuration or through environment variables (#15929)google_secretmanager_secret
where replacingreplication.automatic
withreplication.auto
would destroy and recreate the resource (#15922)database_flags
ingoogle_sql_database_instance
(#15678)google_tags_tag_binding
(#16005)contents_delta_uri
a required field ingoogle_vertex_ai_index
as omitting it would result in an error (#15992)v4.84.0
Compare Source
DEPRECATIONS:
network
field in favor ofnetwork_config
ongoogle_alloydb_cluster
. (#15881)google_identity_platform_project_default_config
resource. Usegoogle_identity_platform_config
resource instead (#15876)FEATURES:
google_certificate_manager_certificate_map
(#15906)google_artifact_registry_vpcsc_config
(#15840)google_dialogflow_cx_security_settings
(#15886)google_gke_backup_restore_plan
(#15858)google_edgenetwork_network
(#15891)google_edgenetwork_subnet
(#15891)IMPROVEMENTS:
network_config
field to support named IP ranges ongoogle_alloydb_cluster
. (#15881)network_interfaces
to resourcegoogle_cloud_run_v2_job
to support Direct VPC egress. (#15870)network_interfaces
to resourcegoogle_cloud_run_v2_service
to support Direct VPC egress. (#15870)autoscaling_policy.mode
to acceptONLY_SCALE_OUT
ongoogle_compute_autoscaler
(#15890)server_tls_policy
argument togoogle_compute_target_https_proxy
resource (#15845)member
attribute togoogle_compute_default_service_account
datasource (#15897)internal_ipv6_prefix
togoogle_compute_subnetwork
resource (#15892)node_config.fast_socket
field togoogle_container_node_pool
(#15872)node_pool_auto_config
field ingoogle_container_cluster
from beta provider to GA provider. (#15884)placement_policy.tpu_topology
in resourcegoogle_container_node_pool
to GA (#15869)auto_repair
ingoogle_container_aws_node_pool
(#15862)auto_repair
ingoogle_container_azure_node_pool
(#15862)"ZONAL"
value totier
ingoogle_filestore_instance
(#15889)delete_protection_state
field togoogle_firestore_database
resource. (#15878)sign-in
field togoogle_identity_platform_config
resource (#15876)linked_vpc_network
ingoogle_network_connectivity_spoke
(#15862)google_network_services_edge_cache_origin
to 120m from 60m (#15855)google_network_services_edge_cache_service
to 60m from 30m (#15861)is_secret_data_base64
field togoogle_secret_manager_secret_version
resource (#15853)BUG FIXES:
google_bigquery_table.time_partitioning.expiration_ms
(#15873)google_bigtable_instance
(#15856)google_bigtable_instance
(#15900)google_eventarc_trigger.event_data_content_type
by defaulting to the value returned by the API if not set in the configuration. (#15862)sign_in
ingoogle_identity_platform_config
resource (#15907)google_monitoring_monitored_project
(#15828)service_id
ongoogle_monitoring_custom_service
andslo_id
ongoogle_monitoring_slo
(#15841)patch_config.windows_update
ongoogle_os_config_patch_deployment
(#15904)provider
block (#15844)google_secret_manager_secret_version
resource (#15880)google_secretmanager_secret
where replacingreplication.automatic
withreplication.auto
would destroy and recreate the resource (#15922)v4.83.0
Compare Source
DEPRECATIONS:
automatic
field ongoogle_secret_manager_secret
. Useauto
instead. (#15793)FEATURES:
google_biglake_table
(#15736)google_data_pipeline_pipeline
(#15785)google_dialogflow_cx_test_case
(#15814)google_storage_insights_report_config
(#15819)google_apigee_target_server
(#15751)IMPROVEMENTS:
labels
fields togoogle_gke_hub_membership_binding
resource (#15753)allow_non_incremental_definition
togoogle_bigquery_table
resource (#15813)table_constraints
field togoogle_bigquery_table
resource (#15815)google_compute_address
andgoogle_compute_instance
resources (#15780)binary_authorization
field togoogle_container_attached_cluster
resource (#15822)config.instance_type
incontainer_aws_node_pool
(#15862)point_in_time_recovery_enablement
field togoogle_firestore_database
resource (#15795)update_time
anduid
fields togoogle_firestore_database
resource (#15823)labels
,namespace_labels
fields togoogle_gke_hub_namespace
resource (#15732)labels
fields togoogle_gke_hub_scope
resource (#15801)upgrade_policy
andbinary_authorization
fields ingoogle_gkeonprem_bare_metal_cluster
resource (beta) (#15765)upgrade_policy
field ingoogle_gkeonprem_vmware_cluster
resource (beta) (#15765)auto
field togoogle_secret_manager_secret
resource (#15793)deletion_policy
field togoogle_secret_manager_secret_version
resource (#15818)autoclass
field ingoogle_storage_bucket
resource (#15782)public_endpoint_enabled
togoogle_vertex_ai_index_endpoint
(#15741)BUG FIXES:
location
ofgoogle_bigquery_data_transfer_config
(#15734)google_container_node_pool
(#15820)event_content_type
ineventarc_trigger
, the field will now default to a value returned by the API when not set in configuration (#15862)google_dataflow_job
instances would crash the provider (#15821)user_project_override
would not be not used correctly when provisioning resources implemented using the plugin framework. Currently there are no resources implemented this way, so no-one should have been impacted. (#15776)no_wrapper.write_metadata
to false wasn't passed to the API forgoogle_pubsub_subscription
(#15758)google_service_account
creation if 403 Forbidden is returned. (#15760)content
value is expected ongoogle_storage_bucket_object_content
(#15735)v4.82.0
Compare Source
IMPROVEMENTS:
enable_proxy_protocol
ingoogle_compute_service_attachment
resource (#15716)reconcile_connections
ingoogle_compute_service_attachment
resource (#15706)allowPscGlobalAccess
ingoogle_compute_forwarding_rule
resource (#15691)google_compute_region_instance_template
to GA (#15710)monitoring_config.enable_components
ingoogle_container_cluster
resource (#15727)labels
field togoogle_gke_hub_scope_rbac_role_binding
resource (#15729)unique_writer_identity
ingoogle_logging_project_sink
resource (#15721)psc_connections.error.details
field togoogle_network_connectivity_service_connection_policy
resource (#15726)replication.user_managed.replicas.customer_managed_encryption
ingoogle_secret_manager_secret
resource (#15685)BUG FIXES:
params.destination_table_name_template
andparams.data_path
immutable as updating these fields if value ofdata_source_id
isamazon_s3
ingoogle_bigquery_data_transfer_config
resource (#15723)network_url
ingoogle_dns_managed_zone
andgoogle_dns_policy
resources to make sure that the private DNS zone or DNS policy can be attatched to all of the networks in different projects, even though the network name is the same across of those projects. (#15728)v4.81.0
Compare Source
FEATURES:
google_biglake_catalog
(#15634)google_redis_cluster
(#15645)google_biglake_database
(#15651)google_compute_network_attachment
(#15648)google_gke_hub_feature_membership
(#15604)google_gke_hub_membership_binding
(#15670)google_gke_hub_namespace
(#15670)google_gke_hub_scope
(#15670)google_gke_hub_scope_iam_member
(#15670)google_gke_hub_scope_iam_policy
(#15670)google_gke_hub_membership_binding
(#15670)google_gke_hub_scope_rbac_role_binding
(#15670)IMPROVEMENTS:
distribution_policy_target_shape
ofgoogle_compute_region_instance_group_manager
not cause recreation of the resource. (#15641)ssl_policy
field on thegoogle_compute_region_target_https_proxy
resource to GA. (#15608)enable_fqdn_network_policy
field togoogle_container_cluster
(#15642)node_config.confidential_compute
field togoogle_container_node_pool
resource (#15662)password
ingoogle_datastream_connection_profile
not cause recreation of the resource. (#15610)response_type
,channel
,payload
,conversation_success
,output_audio_text
,live_agent_handoff
,play_audo
,telephony_transfer_call
,reprompt_event_handlers
,set_parameter_actions
, andconditional_cases
fields togoogle_dialogflow_cx_page
resource (#15668)response_type
,channel
,payload
,conversation_success
,output_audio_text
,live_agent_handoff
,play_audo
,telephony_transfer_call
,set_parameter_actions
, andconditional_cases
fields togoogle_dialogflow_cx_flow
resource (#15668)web_sso_config.additional_scopes
field togoogle_iam_workforce_pool_provider
resource under (#15616)synthetic_monitor
togoogle_monitoring_uptime_check_config
resource (#15623)BUG FIXES:
template.volumes.secret.items.mode
field ingoogle_cloud_run_v2_job
resource to a non-required field. (#15638)template.volumes.secret.items.mode
field ingoogle_cloud_run_v2_service
resource to a non-required field. (#15638)reserved_ip_range
field ingoogle_filestore_instance
(#15614)authorized_domains
ingoogle_identity_platform_config
resource (#15607)v4.80.0
Compare Source
DEPRECATIONS:
google_dataplex_datascan
fields:dataProfileResult
anddataQualityResult
(#15528)google_firebase_project_location
in favor ofgoogle_firebase_storage_bucket
andgoogle_firestore_database
(#15526)FEATURES:
google_sql_database_instance_latest_recovery_time
(#15551)google_certificate_manager_trust_config
(#15562)google_compute_region_security_policy_rule
(#15523)google_iam_deny_policy
(#15571)google_bigquery_bi_reservation
(#15527)google_gke_hub_feature_membership
(#15604)IMPROVEMENTS:
restore_backup_source
andrestore_continuous_backup_source
fields to support restore feature ingoogle_alloydb_cluster
resource. (#15580)cleanup_policies
andcleanup_policy_dry_run
fields to resourcegoogle_artifact_registry_repository
(#15561)multi_target
to ingoogle_clouddelploy_target
(#15564)security_policy
field togoogle_compute_target_instance
resource (beta) (#15566)security_policy
field togoogle_compute_target_pool
(#15569)user_defined_fields
togoogle_compute_region_security_policy
(#15523)google_compute_instance
boot_disk.source
(#15597)additional_pod_ranges_config
field togoogle_container_cluster
resource (#15600)config.labels
updatable ingoogle_container_aws_node_pool
(#15564)data_profile_spec.post_scan_actions
,data_profile_spec.include_fields
anddata_profile_spec.exclude_fields
(#15545)google_dns_response_policy
(#15557)api_key_id
field togoogle_firebase_web_app
,google_firebase_android_app
, andgoogle_firebase_apple_app
. (#15577)psc_config
,psc_service_attachment_link
, anddns_name
fields togoogle_sql_database_instance
(#15563)enable_nested_virtualization
field togoogle_workstations_workstation_config
resource (#15567)BUG FIXES:
google_bigtable_gc_policy.gc_rules
whenmax_age
is specified using increments larger than hours (#15595)google_bigtable_gc_policy.gc_rules
whenmode
is specified (#15595)resource_container_cluster
to ignoredns_config
diff whenenable_autopilot = true
(#15549)google_container_azure_cluster
(#15536)v4.79.0
Compare Source
FEATURES:
google_backup_dr_management_server
(#15479)google_compute_region_security_policy_rule
(#15523)IMPROVEMENTS:
git_file_source.bitbucket_server_config
andsource_to_build.bitbucket_server_config
fields togoogle_cloudbuild_trigger
resource (#15475)google_cloud_run_v2_job
andgoogle_cloud_run_v2_service
resources:create_time
,update_time
,delete_time
,expire_time
,creator
andlast_modifier
(#15502)config.private_environment_config.connection_type
field togoogle_composer_environment
resource (#15460)disk.provisioned_iops
field togoogle_compute_instance_template
andgoogle_compute_region_instance_template
resources (#15506)user_defined_fields
field togoogle_compute_region_security_policy
resource (#15523)edition
field togoogle_database_migration_service_connection_profile
resource (#15510)globalL7ilb
value for therouting_policy.load_balancer_type
field ingoogle_dns_record_set
resource (#15521)default_search_handling_strict
field togoogle_healthcare_fhir_store
resource (#15514)scaling_config
field togoogle_dataproc_metastore_service
resource (#15476)version_aliases
field togoogle_secret_manager_secret
resource (#15483)BUG FIXES:
google_alloydb_cluster
whenbackup_window
,enabled
orlocation
fields are unset (#15444)google_container_aws_cluster
andgoogle_container_aws_node_pool
resources (#15491)google_dataplex_datascan
after running a job (#15468)private_visibility_config.networks
fromrequired
to requiring at least one ofprivate_visibility_config.networks
orprivate_visibility_config.gke_clusters
ingoogle_dns_managed_zone
resource (#15443)v4.78.0
Compare Source
FEATURES:
google_billing_project_info
(#15400)google_network_connectivity_service_connection_policy
(#15381)IMPROVEMENTS:
continuous_backup_config
andcontinuous_backup_info
fields tocluster
resource (#15370)external_data_configuration.file_set_spec_type
togoogle_bigquery_table
(#15402)max_staleness
togoogle_bigquery_table
(#15395)resource_ancestors
field togoogle_billing_budget
resource (#15393)type
togoogle_cloud_identity_group_memberships
(#15398)subnetwork
field to the resourcegoogle_compute_global_forwarding_rule
(#15424)INTERNAL_MANAGED
to the fieldload_balancing_scheme
in the resourcegoogle_compute_backend_service
(#15424)INTERNAL_MANAGED
to the fieldload_balancing_scheme
in the resourcegoogle_compute_global_forwarding_rule
(#15424)ip_version
togoogle_compute_forwarding_rule
(#15388)master_ipv4_cidr_block
as not required whenprivate_endpoint_subnetwork
is provided forgoogle_container_cluster
(#15422)advanced_datapath_observability_config
togoogle_container_cluster
(#15425)event_data_content_type
togoogle_eventarc_trigger
(#15433)send_previous_resource_on_delete
field tonotification_configs
ofgoogle_healthcare_fhir_store
(#15380)cloud_storage_config
field togoogle_pubsub_subscription
resource (#15420)annotations
field togoogle_secret_manager_secret
resource (#15392)BUG FIXES:
google_certificate_manager_certificate
resource when its location changes (#15432)google_cloudfunctions2_function
(#15418)evaluation_interval
oncondition_prometheus_query_language
to be optional (#15429)v4.77.0
Compare Source
NOTES:
google_vpc_access_connector
(#15313)FEATURES:
google_document_ai_warehouse_document_schema
(#15326)google_document_ai_warehouse_location
(#15326)IMPROVEMENTS:
continuous_backup_config
andcontinuous_backup_info
fields tocluster
resource (#15370)machine_type
field on thegoogle_cloudbuild_trigger
resource (#15357)ipv6_endpoint_type
andip_version
togoogle_compute_address
(#15358)local_ssd_recovery_timeout
field togoogle_compute_instance
resource (#15366)local_ssd_recovery_timeout
field togoogle_compute_instance_template
resource (#15366)network_interface.ipv6_access_config.external_ipv6_prefix_length
togoogle_compute_instance
(#15358)network_interface.ipv6_access_config.name
togoogle_compute_instance
(#15358)GLOBAL_MANAGED_PROXY
for the fieldpurpose
in the resourcegoogle_compute_subnetwork
(#15345)instance_lifecycle_policy
togoogle_compute_instance_group_manager
andgoogle_compute_region_instance_group_manager
(#15322)google_compute_backend_service
as per release note(#15328)
network_interface.ipv6_access_config.external_ipv6
configurable ingoogle_compute_instance
(#15358)enable_k8s_beta_apis.enabled_apis
field togoogle_container_cluster
(#15320)node_config.host_maintenance_policy
field togoogle_container_cluster
andgoogle_container_node_pool
(#15347)placement_policy.policy_name
field togoogle_container_node_pool
resource (#15367)enabled_private_endpoint
to be settable on creation for PSC-based clusters (#15361)private_cluster_config
whenmaster_global_access_config
is set ingoogle_container_cluster
(#15369)google_gkeonprem_bare_metal_admin_cluster
(#15362)google_gkeonprem_bare_metal_cluster
andgoogle_gkeonprem_bare_metal_admin_cluster
(#15362)blocking_functions
quota
andauthorized_domains
ingoogle_identity_platform_config
(#15325)period
ingoogle_monitoring_uptime_check_config
(#15315)no_wrapper
field togoogle_pubsub_subscription
resource (#15334)BUG FIXES:
google_bigquery_data_transfer_config
(#15359)google_cloudfunctions2_function.build_config.source.storage_source.generation
created a diff when not set in config (#15364)google_monitoring_monitored_project
where project numbers were not accepted forname
(#15305)google_vpc_access_connector
in4.75.0
.min_throughput
andmax_throughput
fields lost their default value, and customers could not make deployment due to that change. (#15313)v4.76.0
Compare Source
FEATURES:
google_compute_region_ssl_policy
(#15299)google_dataplex_task
(#15226)google_iap_web_region_backend_service_iam_binding
(#15285)google_iap_web_region_backend_service_iam_member
([#15285](htConfiguration
📅 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 this update again.
This PR has been generated by Mend Renovate. View repository job log here.