Releases: hashicorp/terraform-provider-google-beta
Releases · hashicorp/terraform-provider-google-beta
v5.43.1
v6.0.1
v6.0.0
Terraform Google Provider 6.0.0 Upgrade Guide
BREAKING CHANGES:
- provider: changed provider labels to add the
goog-terraform-provisioned: truelabel by default. (#8004) - activedirectory: added
deletion_protectionfield togoogle_active_directory_domainresource. This field defaults totrue, preventing accidental deletions. To delete the resource, you must first setdeletion_protection = falsebefore destroying the resource. (#7837) - alloydb: removed
networkingoogle_alloy_db_cluster. Usenetwork_config.networkinstead. (#7999) - billing: revised the format of
idforgoogle_billing_project_info(#7793) - bigquery: added client-side validation to prevent table view creation if schema contains required fields for
google_bigquery_tableresource (#7755) - bigquery: removed
allow_resource_tags_on_deletionfromgoogle_bigquery_table. Resource tags are now always allowed on table deletion. (#7940) - bigqueryreservation: removed
multi_region_auxiliaryfromgoogle_bigquery_reservation(#7844) - cloudrunv2: added
deletion_protectionfield togoogle_cloudrunv2_serviceto make deleting them require an explicit intent. This field defaults totrue, preventing accidental deletions. To delete the resource, you must first setdeletion_protection = falsebefore destroying the resource. (#7901) - cloudrunv2: changed
liveness_probeto 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) - cloudrunv2: retyped
containers.envto SET from ARRAY forgoogle_cloud_run_v2_serviceandgoogle_cloud_run_v2_job. (#7812) - composer:
ip_allocation_policy = []ingoogle_composer_environmentis no longer valid configuration. Removing the field from configuration should not produce a diff. (#8011) - compute: added new required field
enabledingoogle_compute_backend_serviceandgoogle_compute_region_backend_service(#7758) - compute: revised and in some cases removed default values of
connection_draining_timeout_sec,balancing_modeandoutlier_detectioningoogle_compute_region_backend_serviceandgoogle_compute_backend_service. (#7723) - compute: updated resource id for
compute_network_endpoints(#7806) - compute: stopped the
certifcate_idfield ingoogle_compute_managed_ssl_certificateresource being incorrectly marked as a user-configurable value when it should just be an output. (#7936) - compute:
guest_accelerator = []is no longer valid configuration ingoogle_compute_instance. To explicitly set an empty list of objects, set guest_accelerator.count = 0. (#8011) - compute:
google_compute_instance_from_templateandgoogle_compute_instance_from_machine_imagenetwork_interface.alias_ip_range, network_interface.access_config, attached_disk, guest_accelerator, service_account, scratch_diskcan no longer be set to an empty block[]. Removing the fields from configuration should not produce a diff. (#8011) - compute:
secondary_ip_ranges = []ingoogle_compute_subnetworkis no longer valid configuration. To set an explicitly empty list, usesend_secondary_ip_range_if_emptyand completely removesecondary_ip_rangefrom config. (#8011) - container: made
advanced_datapath_observability_config.enable_relayrequired ingoogle_container_cluster(#7930) - container: removed deprecated field
advanced_datapath_observability_config.relay_modefromgoogle_container_clusterresource. Users are expected to useenable_relayfield instead. (#7930) - container: three label-related fields are now in
google_container_clusterresource.resource_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. (#7932) - container: made three fields
resource_labels,terraform_labels, andeffective_labelsbe present ingoogle_container_clusterdatasources. 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_labelson the resource. (#7932) - container:
guest_accelerator = []is no longer valid configuration ingoogle_container_clusterandgoogle_container_node_pool. To explicitly set an empty list of objects, set guest_accelerator.count = 0. (#8011) - container:
guest_accelerator.gpu_driver_installation_config = []andguest_accelerator.gpu_sharing_config = []are no longer valid configuration ingoogle_container_clusterandgoogle_container_node_pool. Removing the fields from configuration should not produce a diff. (#8011) - datastore: removed
google_datastore_indexin favor ofgoogle_firestore_index(#7987) - edgenetwork: three label-related fields are now in
google_edgenetwork_networkandgoogle_edgenetwork_subnetresources.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. (#7932) - identityplatform: removed resource
google_identity_platform_project_default_configin favor ofgoogle_identity_platform_project_config(#7880) - integrations: removed
create_sample_workflowsandprovision_gmekfromgoogle_integrations_client(#7977) - pubsub: allowed
schema_settingsingoogle_pubsub_topicto be removed (#7674) - redis: added a
deletion_protection_enabledfield to thegoogle_redis_clusterresource. This field defaults totrue, preventing accidental deletions. To delete the resource, you must first setdeletion_protection_enabled = falsebefore destroying the resource. (#7995) - resourcemanager: added
deletion_protectionfield togoogle_folderto make deleting them require an explicit intent. Folder resources now cannot be destroyed unlessdeletion_protection = falseis set for the resource. (#7903) - resourcemanager: made
deletion_policyingoogle_project'PREVENT' by default. This makes deleting them require an explicit intent.google_projectresources cannot be destroyed unlessdeletion_policyis set to 'ABANDON' or 'DELETE' for the resource. (#7946) - storage: removed
no_agefield fromlifecycle_rule.conditionin thegoogle_storage_bucketresource (#7923) - sql: removed
settings.ip_configuration.require_sslingoogle_sql_database_instance. Please usesettings.ip_configuration.ssl_modeinstead. (#7804) - vpcaccess: removed default values for
min_throughputandmin_instancesfields ongoogle_vpc_access_connectorand made them default to values returned from the API when not provided by users (#7709) - vpcaccess: ad...
v5.43.0
DEPRECATIONS:
- storage: deprecated
lifecycle_rule.condition.no_agefield ingoogle_storage_bucket. Use the newlifecycle_rule.condition.send_age_if_zerofield instead. (#7994)
FEATURES:
- New Resource:
google_kms_ekm_connection_iam_binding(#7969) - New Resource:
google_kms_ekm_connection_iam_member(#7969) - New Resource:
google_kms_ekm_connection_iam_policy(#7969) - New Resource:
google_scc_v2_organization_scc_big_query_exports(#8002)
IMPROVEMENTS:
- compute: exposed service side id as new output field
forwarding_rule_idon resourcegoogle_compute_forwarding_rule(#7972) - container: added EXTENDED as a valid option for
release_channelfield ingoogle_container_clusterresource (#7973) - logging: changed
enable_analyticsparsing to "no preference" in analytics if omitted, instead of explicitly disabling analytics ingoogle_logging_project_bucket_config. (#7964) - networkservices: added
idle_timeoutfield to thegoogle_network_services_tcp_routeresource (#7996) - pusbub: added validation to
filterfield in resourcegoogle_pubsub_subscription(#7968) - resourcemanager: added
default_labelsfield togoogle_client_configdata source (#7992) - vmwareengine: added PC undelete support in
google_vmwareengine_private_cloud(#8005)
BUG FIXES:
- alloydb: fixed a permadiff on
psc_instance_configingoogle_alloydb_instanceresource (#7975) - compute: fixed a malformed URL that affected updating the
server_tls_policyproperty ongoogle_compute_target_https_proxyresources (#7988) - compute: fixed force diff replacement logic for
network_ipon resourcegoogle_compute_instance(#7971)
v5.42.0
DEPRECATIONS:
- compute: setting
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_emptywhile removingsecondary_ip_rangefrom config instead. (#7961)
FEATURES:
- New Data Source:
google_artifact_registry_locations(#7922) - New Data Source:
google_cloud_identity_transitive_group_memberships(#7917) - New Resource:
google_discovery_engine_schema(#7963) - New Resource:
google_scc_folder_notification_config(#7928) - New Resource:
google_scc_v2_folder_notification_config(#7927) - New Resource:
google_vertex_ai_index_endpoint_deployed_index(#7931)
IMPROVEMENTS:
- clouddeploy: added
serial_pipeline.stages.strategy.canary.runtime_config.kubernetes.gateway_service_mesh.pod_selector_labelandserial_pipeline.stages.strategy.canary.runtime_config.kubernetes.service_networking.pod_selector_labelfields togoogle_clouddeploy_delivery_pipelineresource (#7945) - compute: added
TDXinstance option toconfidential_instance_typeinstance ingoogle_compute_instance(#7913) - compute: added
send_secondary_ip_range_if_emptytogoogle_compute_subnetwork(#7961) - discoveryengine: added
skip_default_schema_creationfield togoogle_data_storeresource (#7900) - dns: changed
load_balancer_typefield from required to optional ingoogle_dns_record_set(#7925) - parallelstore: added
file_stripe_level,directory_stripe_levelfields togoogle_parallelstore_instanceresource (#7942) - servicenetworking: added
update_on_creation_failfield togoogle_service_networking_connectionresource. 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) - sql: added
server_ca_modefield togoogle_sql_database_instanceresource (#7886)
BUG FIXES:
- bigquery: made
google_bigquery_dataset_iam_membernon-authoritative. To remove a bigquery dataset iam member, use an authoritative resource likegoogle_bigquery_dataset_iam_policy(#7960) - cloudfunctions2: fixed a "Provider produced inconsistent final plan" bug affecting the
service_config.environment_variablesfield ingoogle_cloudfunctions2_functionresource (#7905) - cloudfunctions2: fixed a permadiff on
storage_source.generationingoogle_cloudfunctions2_functionresource (#7912) - compute: fixed issue where sub-resources managed by
google_compute_forwarding_ruleprevented resource deletion (#7958) - logging: changed
google_logging_project_bucket_config.enable_analyticsbehavior to set "no preference" in analytics if omitted, instead of explicitly disabling analytics. (#19126) - workbench: fixed a bug with
google_workbench_instancemetadata drifting when using custom containers. (#7959)
v5.41.0
DEPRECATIONS:
- resourcemanager: deprecated
skip_deletefield in thegoogle_projectresource. Usedeletion_policyinstead. (#7817)
FEATURES:
- New Data Source:
google_scc_v2_organization_source_iam_policy(#7888) - New Resource:
google_access_context_manager_service_perimeter_dry_run_egress_policy(#7882) - New Resource:
google_access_context_manager_service_perimeter_dry_run_ingress_policy(#7882) - New Resource:
google_scc_v2_folder_mute_config(#7846) - New Resource:
google_scc_v2_project_mute_config(#7881) - New Resource:
google_scc_v2_project_notification_config(#7892) - New Resource:
google_scc_v2_organization_source(#7888) - New Resource:
google_scc_v2_organization_source_iam_binding(#7888) - New Resource:
google_scc_v2_organization_source_iam_member(#7888) - New Resource:
google_scc_v2_organization_source_iam_policy(#7888)
IMPROVEMENTS:
- clouddeploy: added
gke.proxy_urlfield togoogle_clouddeploy_target(#7899) - cloudrunv2: added field
binary_authorization.policyto resourcegoogle_cloud_run_v2_joband resourcegoogle_cloud_run_v2_serviceto support named binary authorization policy. (#7883) - compute: added update-in-place support for the
google_compute_target_https_proxy.server_tls_policyfield (#7884) - compute: added update-in-place support for the
google_compute_region_target_https_proxy.server_tls_policyfield (#7891) - container: added
auto_provisioning_locationsfield togoogle_container_cluster(#7849) - dataform: added
kms_key_namefield togoogle_dataform_repositoryresource (#7855) - discoveryengine: added
skip_default_schema_creationfield togoogle_discovery_engine_data_storeresource (#7900) - gkehub: added
configmanagement.managementandconfigmanagement.config_sync.enabledfields togoogle_gkehub_feature_membership(#7899) - gkehub: added
managementfield togoogle_gke_hub_feature.fleet_default_member_config.configmanagement(#7862) - resourcemanager: added
deletion_policyfield to thegoogle_projectresource. Settingdeletion_policytoPREVENTwill protect the project against any destroy actions caused by a terraform apply or terraform destroy. Settingdeletion_policytoABANDONallows the resource to be abandoned rather than deleted and it behaves the same withskip_delete = true. Default value isDELETE.skip_delete = truetakes precedence overdeletion_policy = "DELETE". - storage: added
force_destroyfield togoogle_storage_managed_folderresource (#7867) - storage: added
generationfield togoogle_storage_bucket_objectresource (#7866)
BUG FIXES:
- compute: fixed
google_compute_instance.alias_ip_rangeupdate behavior to avoid temporarily deleting unchanged alias IP ranges (#7898) - compute: fixed the bug that creation of PSC forwarding rules fails in
google_compute_forwarding_ruleresource when provider default labels are set (#7873) - sql: fixed a perma-diff in
settings.insights_configingoogle_sql_database_instance(#7861)
v5.40.0
NOTES:
- resourcemanager: This release included a deprecation of
skip_deleteingoogle_projectwithout the future field (deletion_policy) being available. This will be corrected in a future5.Xrelease prior to the release of6.0.0where thedeletion_policyfield will be made available.
DEPRECATIONS:
- resourcemanager: deprecated
skip_deletefield in thegoogle_projectresource. Instead use the new fielddeletion_policyin the next major release (#7817)
IMPROVEMENTS:
- bigquery: added support for value
DELTA_LAKEtosource_formatingoogle_bigquery_tableresource (#7841) - compute: added
access_modefield togoogle_compute_diskresource (#7813) - compute: added
stack_type, andgateway_ip_versionfields togoogle_compute_routerresource (#7801) - container: added field
ray_operator_configforresource_container_cluster(#7795) - monitoring: updated
goalfield to accept a max threshold of up to 0.9999 ingoogle_monitoring_sloresource (#7807) - networkconnectivity: added
export_pscfield togoogle_network_connectivity_hubresource (#7816) - sql: added
enable_dataplex_integrationfield togoogle_sql_database_instanceresource (#7810)
BUG FIXES:
- bigquery: fixed a permadiff when handling "assets" in
paramsin thegoogle_bigquery_data_transfer_configresource (#7833) - bigquery: fixed an issue preventing certain keys in
paramsfrom being assigned values ingoogle_bigquery_data_transfer_config(#7828) - compute: fixed perma-diff in
google_compute_router(#7818) - container: fixed perma-diff on
node_config.guest_accelerator.gpu_driver_installation_configfield in GKE 1.30+ ingoogle_container_node_poolresource (#7799) - sql: fixed a perma-diff in
settings.insights_configingoogle_sql_database_instance(#7861)
v5.39.1
v5.39.0
NOTES:
- networkconnectivity: migrated
google_network_connectivity_hubfrom DCL to MMv1 (#7724) - networkconnectivity: migrated
google_network_connectivity_spokefrom DCL to MMv1 (#7762)
DEPRECATIONS:
- bigquery: deprecated
allow_resource_tags_on_deletioningoogle_bigquery_table. (#7782) - bigqueryreservation: deprecated
multi_region_auxiliaryongoogle_bigquery_reservation. (#7778) - datastore: deprecated the resource
google_datastore_index. Use thegoogle_firestore_indexresource instead. (#7764)
FEATURES:
- New Resource:
google_apigee_environment_keyvaluemaps_entries(#7717) - New Resource:
google_apigee_environment_keyvaluemaps(#7717) - New Resource:
google_compute_resize_request(#7725) - New Resource:
google_compute_router_route_policy(#7748) - New Resource:
google_scc_v2_organization_mute_config(#7744)
IMPROVEMENTS:
- alloydb: added
observability_configfield togoogle_alloydb_instanceresource (#7737) - bigquery: added
resource_tagsfield togoogle_bigquery_tableresource (#7735) - bigtable: added
data_boost_isolation_read_onlyanddata_boost_isolation_read_only.compute_billing_ownerfields togoogle_bigtable_app_profileresource (#7789) - cloudfunctions: added
build_service_accountfield togoogle_cloudfunctions_functionresource (#7713) - compute: added
aws_v4_authenticationfield togoogle_compute_backend_serviceresource (#7775) - compute: added
custom_learned_ip_rangesandcustom_learned_route_priorityfields togoogle_compute_router_peerresource (#7727) - compute: added
export_policiesandimport_policiesfields togoogle_compute_router_peerresource (#7748) - compute: added
shared_secretfield togoogle_compute_public_advertised_prefixresource (#7767) - compute: added
storage_poolunderboot_disk.initialize_paramstogoogle_compute_instanceresource (#7787) - compute: changed
target_servicefield on thegoogle_compute_service_attachmentresource to accept aForwardingRuleorGatewayURL. (#7736) - container: added field
ray_operator_configforgoogle_container_cluster(#7795) - datastream: added
mergeandappend_onlyfields togoogle_datastream_streamresource (#7726) - dlp: added
cloud_storage_targetfield togoogle_data_loss_prevention_discovery_configresource (#7734) - resourcemanager: added
check_if_service_has_usage_on_destroyfield togoogle_project_serviceresource (#7745) - resourcemanager: added the
memberproperty togoogle_project_service_identity(#7708) - vmwareengine: added
deletion_delay_hoursfield togoogle_vmwareengine_private_cloudresource (#7710) - vmwareengine: supported type change from
TIME_LIMITEDtoSTANDARDfor multi-nodegoogle_vmwareengine_private_cloudresource (#7710) - workbench: added
access_configstogoogle_workbench_instanceresource (#7732)
BUG FIXES:
- compute: fixed perma-diff for
interconnect_typebeingDEDICATEDingoogle_compute_interconnectresource (#7750) - dialogflowcx: fixed intermittent issues with retrieving resource state soon after creating
google_dialogflow_cx_security_settingsresources (#7772) - firestore: fixed missing import of
fieldforgoogle_firestore_field. (#7757) - firestore: fixed bug where fields
database,collection,document_id, andfieldcould not be updated ongoogle_firestore_documentandgoogle_firestore_fieldresources. (#7791) - netapp: made the
smb_settingsfield on thegoogle_netapp_volumeresource default to the value returned from the API. This solves permadiffs when the field is unset. (#7770) - networksecurity: added recreate functionality on update for
client_validation_modeandclient_validation_trust_configingoogle_network_security_server_tls_policy(#7756)
v5.38.0
FEATURES:
- New Data Source:
google_gke_hub_membership_binding(#7696) - New Data Source:
google_site_verification_token(#7704) - New Resource:
google_scc_project_notification_config(#7698)
IMPROVEMENTS:
- cloudkms: added
key_access_justifications_policyfield togoogle_kms_crypto_keyresource (#7693) - compute: made the
google_compute_resource_policyresource updatable in-place (#7692) - vertexai: added
project_numberfield togoogle_vertex_ai_feature_online_store_featureviewresource (#7680)
BUG FIXES: