This repository was archived by the owner on Oct 22, 2023. It is now read-only.
Update Terraform google to v5 #1054
Open
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.83.0->5.2.0Release Notes
hashicorp/terraform-provider-google (google)
v5.2.0Compare Source
FEATURES:
google_secret_manager_secrets(#16182)google_alloydb_user(#16141)google_firestore_backup_schedule(#16186)google_redis_cluster(#16203)IMPROVEMENTS:
cluster_typeandsecondary_configfields to support secondary clusters ingoogle_alloydb_clusterresource. (#16197)recreate_closed_pscflag to support recreating the PSC Consumer forwarding rule if thepsc_connection_statusis closed ongoogle_compute_forwarding_rule. (#16188)INTERNET_IP_PORT,INTERNET_FQDN_PORT,SERVERLESS, andPRIVATE_SERVICE_CONNECTas acceptable values for thenetwork_endpoint_typefield for theresource_compute_network_endpoint_groupresource (#16194)SEV_LIVE_MIGRATABLE_V2toguest_os_featuresenum ongoogle_compute_imageresource. (#16187)allow_subnet_cidr_routes_overlapfield togoogle_compute_subnetworkresource (#16116)labels,effective_labels,terraform_labels, andlabel_fingerprintfields ingoogle_compute_addressto GA (#16120)internal_ipandexternal_ipfields in resourcesgoogle_compute_instance_group_managerandgoogle_compute_region_instance_group_managerto GA (#16140)internal_ipandexternal_ipfields in resourcesgoogle_compute_per_instance_configandgoogle_compute_region_per_instance_configto GA (#16140)oidc.jwks_jsonin resourcegoogle_iam_workforce_poolto GA (#16199)BUG FIXES:
client_connection_configfield togoogle_alloydb_instanceresource (#16202)view,materialized_view, andschemafor thegoogle_bigquery_tableresource (#16193)certificate_manager_certificatesfield togoogle_compute_target_https_proxyresource (#16179)google_compute_global_addresscan't be created whennetwork_tieringoogle_compute_project_default_network_tieris set toSTANDARD(#16144)ip_addresswhen it is set to ipv6 ongoogle_compute_forwarding_rule(#16115)v5.1.0Compare Source
FEATURES:
google_database_migration_service_private_connection(#16104)google_edgecontainer_cluster(#16055)google_edgecontainer_node_pool(#16055)google_edgecontainer_vpn_connection(#16055)google_firebase_hosting_custom_domain(#16062)google_gke_hub_fleet(#16072)IMPROVEMENTS:
device_namefield toscratch_diskblock ofgoogle_compute_instanceresource (#16049)node_config.linux_node_config.cgroup_modefield togoogle_container_node_pool(#16103)oracleprofiles togoogle_database_migration_service_connection_profile(#16087)api_scopefield togoogle_firestore_indexresource (#16085)locationfield togoogle_gke_hub_membership_iam_*resources (#16105)locationfield togoogle_gke_hub_membershipresource (#16105)vcenterfields ingoogle_gkeonprem_vmware_cluster(#16073)sms_region_configto the resourcegoogle_identity_platform_config(#16044)BUG FIXES:
google_dns_record_set(#16042)terraform_labelsfield even if no fields were updated (#16111)v5.0.0Compare Source
KNOWN ISSUES:
5.1.0, see https://github.com/hashicorp/terraform-provider-google/issues/16091 for details.Terraform Google Provider 5.0.0 Upgrade Guide
NOTES:
LABELS REWORK:
default_labelsfield are now supported. The default labels configured on the provider will be applied to all of the resources with standardlabelsfield.labelsfield.labelsfield is non-authoritative and only manages the labels defined by the users on the resource through Terraform. The new output-onlyterraform_labelsfield merges the labels defined by the users on the resource through Terraform and the default labels configured on the provider. The new output-onlyeffective_labelsfield lists all of labels present on the resource in GCP, including the labels configured through Terraform, the system, and other clients.annotationsfield. Theannotationsfield is non-authoritative and only manages the annotations defined by the users on the resource through Terraform. The new output-onlyeffective_annotationsfield 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_labelsare 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_labelson the resource.annotationsandeffective_annotationsare 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_annotationson the resource.BREAKING CHANGES:
credentials,access_token,impersonate_service_account,project,billing_project,region,zone(#15968)google_bigquery_tableschema (#15338)routine_typerequired forgoogle_bigquery_routine(#15517)locationrequired 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_socketfromgoogle_cloud_run_v2_serviceresource. (#15430)startup_probeandliveness_probefromgoogle_cloud_run_v2_jobresource. (#15430)volumes.cloud_sql_instance.instancesto SET from ARRAY forgoogle_cloud_run_v2_service(#15831)google_compute_node_grouprequire one ofinitial_sizeorautoscaling_policyfields configured upon resource creation (#16006)sizeingoogle_compute_node_groupan output only field. (#16006)rule.rate_limit_options.encorce_on_keyon resourcegoogle_compute_security_policy(#15681)consumer_accept_liststo a SET from an ARRAY type forgoogle_compute_service_attachment(#15985)deletion_protectiontogoogle_container_clusterwhich is enabled totrueby default. When enabled, this field prevents Terraform from deleting the resource. (#16013)management.auto_repairandmanagement.auto_upgradedefaults to true ingoogle_container_node_pool(#15931)networking_modedefault toVPC_NATIVEfor newly createdgoogle_container_clusterresources (#6402)enable_binary_authorizationingoogle_container_cluster(#15868)logging_variantingoogle_container_node_pool(#15931)network_policy.provideringoogle_container_cluster(#15920)google_container_clusterwill 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)taintfield ingoogle_container_clusterandgoogle_container_node_poolto 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_resultanddata_quality_resultfromgoogle_dataplex_scan(#15505)deletion_policydefault toDELETEforgoogle_firebase_web_app. (#15406)google_firebase_project_location(#15764)gameservices(#15558)unique_writer_identityfromfalsetotrueingoogle_logging_project_sink. (#15743)growth_factor,num_finite_buckets, andscalerequired forgoogle_logging_metric(#15680)LOOKER_MODELERas a possible value ingoogle_looker_instance.platform_edition(#15956)google_monitoring_dashboard.dashboard_jsonby suppressing values returned by the API that are not in configuration (#16014)labelsimmutable ingoogle_monitoring_metric_descriptor(#15988)config_values,pem_certificatesfromgoogle_privateca_certificate(#15537)automaticfield ingoogle_secret_manager_secretresource (#15859)google_service_networking_connection(#15761)deleteConnectionmethod to delete the resourcegoogle_service_networking_connection(#15934)FEATURES:
google_scc_folder_custom_module(#15979)google_scc_organization_custom_module(#16012)IMPROVEMENTS:
google_alloydb_instanceandgoogle_alloydb_backup(#15973)google_artifact_registry_repository(#15973)google_bare_metal_admin_clusterto better align with actual behavior (#16010)stateoutput attribute togoogle_bigtable_instanceclusters (#15961)google_compute_node_groupmutable (#16006)effective_taintsattribute togoogle_container_clusterandgoogle_container_node_pool, outputting all known taint values (#15959)addons_config.gcs_fuse_csi_driver_configongoogle_container_clusterwithenable_autopilot: true. (#15996)binary_authorizationtogoogle_container_aws_cluster(#15989)update_settingstogoogle_container_aws_node_pool(#15989)week_day_of_month.day_offsetfield to thegoogle_os_config_patch_deploymentresource (#15997)rotation.rotation_periodfield ingoogle_secret_manager_secretresource (#15952)preferred_zonefield togoogle_sql_database_instanceresource (#15971)event_streamfield togoogle_storage_transfer_jobresource (#16004)BUG FIXES:
external_data_configuration.connection_idingoogle_bigquery_table(#15983)google_bigquery_table(#15442)google_bigtable_instancewhen cluster is still updating and storage type changed (#15961)google_bigtable_instance(#15940)reconcile_connectionsin 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_mappingwith APIs default in resourcegoogle_compute_router_nat(#15478)google_container_node_poolwhere emptylinux_node_config.sysctlswould crash the provider (#15941)google_dataflow_flex_template_job(#15976)google_dataflow_flex_template_job(#15976)google_dataflow_flex_template_job(#15976)sign_iningoogle_identity_platform_configresource (#15907)google_firebase_rules.releaseimmutable (#15989)metadatawas not able to be updated ingoogle_monitoring_metric_descriptor(#16014)google_monitoring_notification_channelfailed when no default project was supplied in provider configuration or through environment variables (#15929)google_secretmanager_secretwhere replacingreplication.automaticwithreplication.autowould destroy and recreate the resource (#15922)database_flagsingoogle_sql_database_instance(#15678)google_tags_tag_binding(#16005)contents_delta_uria required field ingoogle_vertex_ai_indexas omitting it would result in an error (#15992)v4.84.0Compare Source
DEPRECATIONS:
networkfield in favor ofnetwork_configongoogle_alloydb_cluster. (#15881)google_identity_platform_project_default_configresource. Usegoogle_identity_platform_configresource 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_configfield to support named IP ranges ongoogle_alloydb_cluster. (#15881)network_interfacesto resourcegoogle_cloud_run_v2_jobto support Direct VPC egress. (#15870)network_interfacesto resourcegoogle_cloud_run_v2_serviceto support Direct VPC egress. (#15870)autoscaling_policy.modeto acceptONLY_SCALE_OUTongoogle_compute_autoscaler(#15890)server_tls_policyargument togoogle_compute_target_https_proxyresource (#15845)memberattribute togoogle_compute_default_service_accountdatasource (#15897)internal_ipv6_prefixtogoogle_compute_subnetworkresource (#15892)node_config.fast_socketfield togoogle_container_node_pool(#15872)node_pool_auto_configfield ingoogle_container_clusterfrom beta provider to GA provider. (#15884)placement_policy.tpu_topologyin resourcegoogle_container_node_poolto GA (#15869)auto_repairingoogle_container_aws_node_pool(#15862)auto_repairingoogle_container_azure_node_pool(#15862)"ZONAL"value totieringoogle_filestore_instance(#15889)delete_protection_statefield togoogle_firestore_databaseresource. (#15878)sign-infield togoogle_identity_platform_configresource (#15876)linked_vpc_networkingoogle_network_connectivity_spoke(#15862)google_network_services_edge_cache_originto 120m from 60m (#15855)google_network_services_edge_cache_serviceto 60m from 30m (#15861)is_secret_data_base64field togoogle_secret_manager_secret_versionresource (#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_typeby defaulting to the value returned by the API if not set in the configuration. (#15862)sign_iningoogle_identity_platform_configresource (#15907)google_monitoring_monitored_project(#15828)service_idongoogle_monitoring_custom_serviceandslo_idongoogle_monitoring_slo(#15841)patch_config.windows_updateongoogle_os_config_patch_deployment(#15904)providerblock (#15844)google_secret_manager_secret_versionresource (#15880)google_secretmanager_secretwhere replacingreplication.automaticwithreplication.autowould destroy and recreate the resource (#15922)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 this update again.
This PR has been generated by Mend Renovate. View repository job log here.