FEATURES:
- New Resource:
google_dialogflow_cx_flow(#3422) - New Resource:
google_dialogflow_cx_intent(#3415) - New Resource:
google_dialogflow_cx_version(#3423) - New Resource:
google_network_services_edge_cache_keyset(#3417) - New Resource:
google_network_services_edge_cache_origin(#3417) - New Resource:
google_network_services_edge_cache_service(#3417) - New Resource:
google_vertex_ai_featurestore_entitytype(#3416) - New Resource:
google_vertex_ai_featurestore(#3416)
IMPROVEMENTS:
- apigee: Added SLASH_22 support for
peering_cidr_rangeongoogle_apigee_instance(#3424) - cloudbuild: Added
pubsub_configandwebhook_configparameter togoogle_cloudbuild_trigger. (#3418)
BUG FIXES:
- pubsub: fixed pubsublite update issues (#3421)
BREAKING CHANGES:
- privateca: existing beta resources will no longer function (#3397)
FEATURES:
- New Resource: google_privateca_ca_pool (#3397)
- New Resource: google_privateca_certificate (#3397)
- New Resource: google_privateca_certificate_authority (#3397)
IMPROVEMENTS:
- bigquery: added
kms_key_versionas an output onbigquery_table.encryption_configurationand thedestination_encryption_configurationblocks ofbigquery_job.query,bigquery_job.load, andbigquery_copy. (#3406) - compute: added
advanced_machine_featurestogoogle_compute_instance(#3392) - dlp: Added
replace_with_info_type_configtodlp_deidentify_template. (#3384) - storage: added
temporary_holdandevent_based_holdattributes togoogle_storage_bucket_object(#3399)
BUG FIXES:
- bigquery: Fixed permadiff due to lowercase mode/type in
google_bigquery_table.schema(#3405) - billing: made
all_updates_rule.*fields updatable ongoogle_billing_budget(#3394) - billing: made
amount.specified_amount.unitsupdatable ongoogle_billing_budget(#3391) - compute: fixed perma-diff in
google_compute_instance(#3389) - storage: fixed handling of object paths that contain slashes for
google_storage_object_access_control(#3407)
FEATURES:
- New Resource:
google_app_engine_service_network_settings(#3371) - New Resource:
google_vertex_ai_dataset(#3369) - New Resource:
google_cloudbuild_worker_pool(#3372)
IMPROVEMENTS:
- bigtable: added
cluster.kms_key_namefield togoogle_bigtable_instance(#3354) - composer: added field
max_pods_per_nodeto resourcegoogle_composer_environment(beta) (#3376) - secretmanager: added
ttl,expire_time,topicsandrotationfields togoogle_secret_manager_secret(#3360)
BUG FIXES:
- container: allowed setting
node_config.service_accountat the same time asenable_autopilot = trueforgoogle_container_cluster(#3361) - container: fixed issue where creating a node pool with a name that already exists would import that resource.
google_container_node_pool(#3378) - dataproc: fixed crash when creating
google_dataproc_workflow_templatewithsecondary_worker_configempty except fornum_instances = 0(#3347) - filestore: fixed an issue in
google_filestore_instancewhere creating two instances simultaneously resulted in an error. (#3358) - iam: fixed an issue in
google_iam_workload_identity_pool_providerwhereawsandoidcwere not updatable. (#3350) - sql: added support for
binary_loggingon replica instances forgooge_sql_database_instance(#3379)
FEATURES:
- New Resource:
google_compute_service_attachment(#3328) - New Resource:
google_dialogflow_cx_agent(#3324) - New Resource:
google_gkehub_feature(#3330) - New Resource:
google_gkehub_feature_membership(#3330)
IMPROVEMENTS:
- provider: added support for mtls authentication (#3348)
- compute: added field
adaptive_protection_configtogoogle_compute_security_policy(#3322) - compute: added
advanced_machine_featuresfields togoogle_compute_instance_template(#3337) - compute: added a
network_performance_configblock to each ofresource_compute_instance,resource_compute_instance_from_template, andresource_compute_instance_template(#3341) - redis: allowed
redis_versionto be upgraded ongoogle_redis_instance(#3344)
BUG FIXES:
- apigee: added SLASH_23 support for
peering_cidr_rangeongoogle_apigee_instance(#3327) - cloudrun: fixed a bug where plan would should a diff on
google_cloud_run_serviceif the order of thetemplate.spec.containers.envlist was re-ordered outside of terraform. (#3326) - container: added
user_project_overridesupport to the ContainerOperationWaiter used bygoogle_container_cluster(#3345)
IMPROVEMENTS:
- container: Allowed specifying a cluster id field for
google_container_node_pool.clusterto ensure that a node pool is recreated if the associated cluster is recreated. (#3314) - storagetransfer: added support for
azure_blob_storage_data_sourcetogoogle_storage_transfer_job(#3316)
BUG FIXES:
- bigquery: Fixed
google_bigquery_table.schemahandling of policyTags (#3307) - bigtable: fixed bug that would error if creating multiple bigtable gc policies at the same time (#3311)
- compute: fixed bug where
encryptionshowed a perma-diff on resources created prior to the feature being released. (#3309) - dataflow: fixed handling of failed
google_dataflow_flex_template_jobupdates (#3318) - dataflow: made
google_dataflow_flex_template_jobupdates fail fast if the job is in the process of cancelling or draining(#3317)
FEATURES:
- New Resource:
google_dialogflow_fulfillment(#3286)
IMPROVEMENTS:
- compute: added
reservation_affinitytogoogle_compute_instanceandgoogle_compute_instance_template(#3288) - compute: added support for
wait_for_instances_statusongoogle_compute_instance_group_managerandgoogle_compute_region_instance_group_manager(#3283) - compute: added support for output-only
statusfield ongoogle_compute_instance_group_managerandgoogle_compute_region_instance_group_manager(#3283) - compute: set the default value for log_config.enable on
google_compute_region_health_checkto avoid permanent diff on plan/apply. (#3291)
BUG FIXES:
- composer: fixed a check that did not allow for preview versions in
google_composer_environment(#3287) - storage: fixed error when
matches_storage_classis set empty ongoogle_storage_bucket(#3282) - vpcaccess: fixed permadiff when
max_throughputis not set ongoogle_vpc_access_connector(#3294)
IMPROVEMENTS:
- compute: added
provisioned_iopstogoogle_compute_disk(#3269) - sql: added field
disk_autoresize_limittosql_database_instance(#3273)
BUG FIXES:
- cloudrun: fixed a bug where resources would return successfully due to responses based on a previous version of the resource (#3277)
- compute: fixed issue where
google_compute_region_diskandgoogle_compute_diskwould force recreation due to the addition ofinterfaceproperty (#3272) - compute: fixed missing values for
negative_cachingandserve_while_staleongoogle_compute_backend_service(#3278) - storage: fixed error when
matches_storage_classis set empty ongoogle_storage_bucket(#3282)
IMPROVEMENTS:
- apigateway: allowed field
apiconfigto change on resourcegoogle_apigateway_gateway(#3248) - compute: added "description" field to "google_compute_resource_policy" resource (#3263)
- compute: added "instance_schedule_policy" field to "google_compute_resource_policy" resource (#3263)
- compute: added support for IPsec-encrypted Interconnect in the form of new fields on
google_compute_router,google_compute_ha_vpn_gateway,google_compute_interconnect_attachmentandgoogle_compute_address(#3256) - dataflow: enabled updates for
google_dataflow_flex_template_job(#3246)
BUG FIXES:
- cloudidentity: fixed recreation on the
initial_group_configofgoogle_cloud_identity_group(#3252) - compute: added mutex in
google_compute_metadata_itemto reduce retries + quota errors (#3262) - container: fixed bug where
enable_shielded_nodescould not be false on resourcegoogle_container_cluster(#3247)
FEATURES:
- New Resource:
google_pubsub_schema(#3243)
IMPROVEMENTS:
- compute: added
initial_sizein resourcegoogle_compute_node_groupto account for scenarios where size may change under the hood (#3228) - compute: added support for setting
kms_key_nameongoogle_compute_machine_image(#3241) - dataflow: enabled updates for
google_dataflow_flex_template_job(#3246)
BUG FIXES:
- compute: Fixed permadiff for
cdn_policy.serve_while_staleandcdn_policy.*_ttlingoogle_compute_region_backend_service(beta) (#3230) - compute: fixed bug where, when an organization security policy association was removed outside of terraform, the next plan/apply would fail. (#3234)
- container: added validation to check that both
node_versionandremove_default_node_poolcannot be set ongoogle_container_cluster(#3237) - dns: suppressed spurious diffs due to case changes in DS records (#3236)
NOTES:
- all: changed default HTTP request timeout from 30 seconds to 120 seconds (#3181) BREAKING CHANGES:
- bigquery: updating
dataset_idorproject_idingoogle_bigquery_datasetwill now recreate the resource (#3185)
IMPROVEMENTS:
- accesscontextmanager: added support for
require_verified_chrome_osin basic access levels. (#3223) - billingbudget: added support for import of
google_billing_budget(#3194) - cloud_identity: added support for
initial_group_configto the google_cloud_identity_group resource (#3211) - cloudrun: added support to bind secrets from Secret Manager to environment variables or files to
google_cloud_run_service(#3225) - compute: added
initial_sizeto account for scenarios where size may change under the hood in resourcegoogle_compute_node_group(#3228) - compute: added
interfacefield togoogle_compute_region_disk(#3193) - healthcare: added support for
stream_configsingoogle_healthcare_dicom_store(#3190) - secretmanager: added support for setting a CMEK on
google_secret_manager_secret(#3212) - spanner: added
force_destroytogoogle_spanner_instanceto delete instances that have backups enabled. (#3227) - spanner: added support for setting a CMEK on
google_spanner_database(#3181) - workflows: marked
source_contentsandservice_accountas updatable ongoogle_workflows_workflow(#3205)
BUG FIXES:
- bigquery: fixed
dataset_idto force new resource if name is changed. (#3185) - cloudrun: fixed permadiff on
google_cloud_run_domain_mapping.metadata.labels(#3183) - composer: changed
google_composer_environment.master_ipv4_cidr_blockto draw default from the API (#3204) - compute: fixed the failure when
min_required_replicasis set to 0 ongoogle_compute_autoscalerorgoogle_compute_region_autoscaler(#3203) - container: fixed container node pool not removed from the state when received 404 error on delete call for the resource
google_container_node_pool(#3210) - dns: fixed empty
rrdataslist ongoogle_dns_record_setfor AAAA records (#3207) - kms: fixed indirectly force replacement via
skip_initial_version_creationongoogle_kms_crypto_key(#3192) - logging: fixed
metric_descriptor.labelscan't be updated on 'google_logging_metric' (#3217) - pubsub: fixed diff for
minimum_backoff & maximum_backoffongoogle_pubsub_subscription(#3214) - resourcemanager: fixed broken handling of IAM conditions for
google_organization_iam_member,google_organization_iam_binding, andgoogle_organization_iam_policy(#3213) - serviceusage: added
google_project_service.servicevalidation to reject invalid service domains that don't contain a period (#3191) - storage: fixed bug where
role_entityuser wouldn't update if the role changed. (#3199)
BUG FIXES:
- compute: fixed bug where terraform would crash if updating from no
service_account.scopesto more. (#3208)
NOTES:
- all: changed default HTTP request timeout from 30 seconds to 120 seconds (#3181)
BREAKING CHANGES:
- datacatalog: updating
parentingoogle_data_catalog_tagwill now recreate the resource (#3179)
FEATURES:
- New Data Source:
google_compute_ha_vpn_gateway(#3173) - New Resource:
google_dataproc_workflow_template(#3178)
IMPROVEMENTS:
- bigquery: Added BigTable source format in BigQuery table (#3165)
- cloudfunctions: removed bounds on the supported memory range in
google_cloudfunctions_function.available_memory_mb(#3171) - compute: marked scheduling.0.node_affinities as updatable in
google_compute_instance(#3166) - dataproc: added
shielded_instance_configfields togoogle_dataproc_cluster(#3157) - spanner: added support for setting a CMEK on
google_spanner_database(#3181)
BUG FIXES:
- compute: fixed error when creating empty
scopesongoogle_compute_instance(#3174) - container: fixed a bug that allowed specifying
node_configongoogle_container_clusterwhen autopilot is used (#3155) - datacatalog: fixed an issue where
parentingoogle_data_catalog_tagattempted to update the resource when change instead of recreating it (#3179) - datacatalog: set default false for
force_deleteongoogle_data_catalog_tag_template(#3164) - dns: added missing record types to
google_dns_record_setresource (#3160) - sql: set
clone.point_in_timeoptional forgoogle_sql_database_instance(#3180)
FEATURES:
- New Data Source:
google_kms_secret_asymmetric(#3141)
IMPROVEMENTS:
- compute: added the ability to specify
google_compute_forwarding_rule.ip_addressby a reference in addition to raw IP address (#3140) - compute: enabled fields
advertiseMode,advertisedGroups,peerAsn, andpeerIpAddressto be updatable on resourcegoogle_compute_router_peer(#3134) - eventarc: added
transport.pubsub.topictogoogle_eventarc_trigger(#3149)
BUG FIXES:
- cloud_identity: fixed google_cloud_identity_group_membership import/update (#3136)
- compute: removed minimum for
scopesfield ongoogle_compute_instanceresource (#3147) - iam: fixed issue with principle and principleSet members not retaining their casing (#3133)
- workflows: fixed a bug in
google_workflows_workflowthat could cause inconsistent final plan errors when using thenamefield in other resources (#3138)
FEATURES:
- New Resource:
google_tags_tag_binding(#3121) - New Resource:
google_tags_tag_key_iam_binding(#3124) - New Resource:
google_tags_tag_key_iam_member(#3124) - New Resource:
google_tags_tag_key_iam_policy(#3124) - New Resource:
google_tags_tag_value_iam_binding(#3124) - New Resource:
google_tags_tag_value_iam_member(#3124) - New Resource:
google_tags_tag_value_iam_policy(#3124) - New Resource:
google_apigee_envgroup_attachment(#3129)
IMPROVEMENTS:
- bigquery: added
require_partition_filterfield togoogle_bigquery_tablewhen provisioninghive_partitioning_options(#3106) - cloudbuild: added new machine types for
google_cloudbuild_trigger(#3115) - compute: added field
maintenance_window.start_timetogoogle_compute_node_group(#3125) - compute: added gVNIC support for
google_compute_instance_template(#3123) - datacatalog: added
descriptionfield togoogle_data_catalog_tag_templateresource (#3128) - iam: added support for third party identities via the principle and principleSet IAM members (#3133)
BUG FIXES:
- compute: reverted datatype change for
mtuingoogle_compute_interconnect_attachmentas it was incompatible with existing state representation (#3112) - iam: fixed issue with principle and principleSet members not retaining their casing (#3133)
- storage: fixed intermittent
Provider produced inconsistent result after applyerror when creating (#3107)
FEATURES:
- New Data Source:
google_monitoring_istio_canonical_service(#3092) - New Resource:
google_apigee_instance_attachment(#3093) - New Resource:
google_gke_hub_membership(#3079) - New Resource:
google_tags_tag_value(#3097)
IMPROVEMENTS:
- added support for Apple silicon chip (updated to go 1.16) (#3057)
- container:
- sql: changed the default timeout of
google_sql_database_instanceto 30m from 20m (#3099)
BUG FIXES:
- bigquery: fixed issue where you couldn't extend an existing
schemawith additional columns ingoogle_bigquery_table(#3100) - cloudidentity: modified
google_cloud_identity_groupsandgoogle_cloud_identity_group_membershipsto respect theuser_project_overrideandbilling_projectconfigurations and send the appropriate headers to establish a quota project (#3081) - compute: added minimum for
scopesfield togoogle_compute_instanceresource (#3098) - notebooks: fixed permadiff on labels for
google_notebook_instance(#3096) - secretmanager: set required on
secrest_dataingoogle_secret_manager_secret_version(#3094)
FEATURES:
- New Data Source:
google_compute_health_check(#3066) - New Data Source:
google_kms_secret_asymmetric(#3076) - New Resource:
google_gke_hub_membership(#3079) - New Resource:
google_tags_tag_key(#3062) - New Resource:
google_data_catalog_tag_template_iam_*(#3071)
IMPROVEMENTS:
- accesscontextmanager: added support for ingress and egress policies to
google_access_context_manager_service_perimeter(#3064) - artifactregistry: relaxed field validations for field
formatongoogle_artifact_registry_repository(#3068) - compute: added
proxy_bindtogoogle_compute_target_tcp_proxy,google_compute_target_http_proxyandgoogle_compute_target_https_proxy(#3061)
BUG FIXES:
- compute: fixed an issue where exceeding the operation rate limit would fail without retrying (#3077)
- compute: corrected underlying type to integer for field
mtuingoogle_compute_interconnect_attachment(#3075
IMPROVEMENTS:
- provider: The provider now supports Workload Identity Federation. The federated json credentials must be loaded through the
GOOGLE_APPLICATION_CREDENTIALSenvironment variable. (#3054) - compute: added
proxy_bindtogoogle_compute_target_tcp_proxy,google_compute_target_http_proxyandgoogle_compute_target_https_proxy(#3061) - compute: changed
google_compute_subnetworkto accept more values in thepurposefield (#3043) - dataflow: added
enable_streaming_engineargument (#3049) - vpcaccess: added
subnet,machine_typebeta fields togoogle_vpc_access_connector(#3042)
BUG FIXES:
- bigtable: fixed bug where gc_policy would attempt to recreate the resource when switching from deprecated attribute but maintaining the same value underlying value (#3037)
- binaryauthorization: fixed permadiff in
google_binary_authorization_attestor(#3035) - container: Fixed updates on
export_custom_routesandimport_custom_routesingoogle_compute_network_peering(#3045)
FEATURES:
- New Resource:
google_workflows_workflow(#2989) - New Resource: google_apigee_envgroup (#3039)
- New Resource: google_apigee_environment (#3020)
- New Resource: google_apigee_instance (#2986)
IMPROVEMENTS:
- cloudrun: suppressed metadata.labels["cloud.googleapis.com/location"] value in
google_cloud_run_service(#3005) - compute: added
mtufield togoogle_compute_interconnect_attachment(#3006) - compute: added autoscaling_policy.cpu_utilization.predictive_method field to
google_compute_autoscalerandgoogle_compute_region_autoscaler(#2987) - compute: added support for
nic_typetogoogle_compute_instance(GA only) (#2998) - container: added field
ephemeral_storage_configto resourcegoogle_container_node_poolandgoogle_container_cluster(beta) (#3023) - datafusion: added support for the
DEVELOPERinstance type togoogle_data_fusion_instance(#3015) - monitoring: added windows based availability sli to the resource
google_monitoring_slo(#3013) - sql: added
settings.0.backup_configuration.transaction_log_retention_daysandsettings.0.backup_configuration.transaction_log_retention_daysfields togoogle_sql_database_instance(#3010) - storage: added
kms_key_nametogoogle_storage_bucket_objectresource (#3026)
BUG FIXES:
- bigquery: fixed materialized view to be recreated when query changes (#3032)
- bigtable: fixed bug where gc_policy would attempt to recreate the resource when switching from deprecated attribute but maintaining the same underlying value (#3037)
- bigtable: required resource recreation if any fields change on
resource_bigtable_gc_policy(#2991) - binaryauthorization: fixed permadiff in
google_binary_authorization_attestor(#3035) - cloudfunction: added retry logic for
google_cloudfunctions_functionupdates (#2992) - cloudidentity: fixed a bug where
google_cloud_identity_groupwould periodically fail with a 403 (#3012) - compute: fixed a perma-diff for
nat_ipsthat were specified as short forms ingoogle_compute_router_nat(#3007) - compute: fixed perma-diff for cos-family disk images (#3024)
- compute: Fixed service account scope alias to be updated. (#3021)
- container: fixed container cluster not removed from the state when received 404 error on delete call for the resource
google_container_cluster(#3018) - container: Fixed failure in deleting
maintenance_exclusionforgoogle_container_cluster(#3014) - container: fixed an issue where release channel UNSPECIFIED could not be set (#3019)
- essentialcontacts: made
language_tagrequired forgoogle_essential_contacts_contact(#2994) - serviceusage: fixed an issue in
google_service_usage_consumer_quota_overridewhere setting theoverride_valueto 0 would result in a permanent diff (#2985) - serviceusage: fixed an issue in
google_service_usage_consumer_quota_overridewhere setting theoverride_valueto 0 would result in a permanent diff (#3025)
FEATURES:
- New Resource:
google_dataproc_metastore_service(#2977) - New Resource:
google_workflows_workflow(#2989) - New Resource:
google_apigee_instance(#2986) - New Resource:
google_eventarc_trigger(#2972)
IMPROVEMENTS:
- composer: added
encryption_configtogoogle_composer_environmentresource (#2967) - compute: Added graceful termination to
google_container_node_poolcreate calls so that partially created node pools will resume the original operation if the Terraform process is killed mid create. (#2969) - redis : marked
auth_stringon theresource_redis_instanceresource as sensitive (#2974)
BUG FIXES:
- apigee: fixed IDs when importing
google_apigee_organizationresource (#2966) - artifactregistry: fixed issue where updating
google_artifact_registry_repositoryalways failed (#2968) - compute : fixed a bug where
guest_flushcould not be set to false for the resourcegoogle_compute_resource_policy(#2975) - compute: fixed a panic on empty
target_sizeingoogle_compute_region_instance_group_manager(#2979) - redis: fixed invalid value error on
auth_stringingoogle_redis_instance(#2970)
NOTES:
google_bigquery_tableresources now cannot be destroyed unlessdeletion_protection = falseis set in state for the resource. (#2954)
FEATURES:
IMPROVEMENTS:
- bigquery: added
deletion_protectionfield togoogle_bigquery_tableto make deleting them require an explicit intent. (#2954) - cloudrun: updated retry logic to attempt to retry 409 errors from the Cloud Run API, which may be returned intermittently on create. (#2948)
- compute: removed max items limit from
google_compute_target_ssl_proxy. The API currently allows upto 15 Certificates. (#2964) - compute: added support for Private Services Connect for Google APIs in
google_compute_global_addressandgoogle_compute_global_forwarding_rule(#2956) - iam: added a retry condition that retries editing
iam_bindingandiam_memberresources on policies that have frequently deleted service accounts (#2963) - redis: added transit encryption mode support for
google_redis_instance(#2955) - secretmanager: changed endpoint to use v1 instead of v1beta1 as it is more up-to-date (#2946)
- sql: added
insights_configblock togoogle_sql_database_instanceresource (#2944)
BUG FIXES:
- compute: fixed an issue where the provider could return an error on a successful delete operation (#2958)
- datacatalog: fixed import issue for
google_data_catalog_taxonomy(#2961) - dataproc : fixed
max_failure_per_hournot sent in API request for the resourcegoogle_dataproc_job(#2949) - dlp : modified
google_data_loss_prevention_stored_info_typeregex.group_indexesfield to trigger resource recreation on update (#2947) - sql: fixed diffs based on case for
charsetingoogle_sql_database(#2957)
DEPRECATIONS:
- compute: deprecated
source_disk_urlfield ingoogle_compute_snapshot. (#2939) - kms: deprecated
self_linkfield ingoogle_kms_keyringandgoogle_kms_cryptokeyresource as it is identical value toidfield. (#2939) - pubsub: deprecated
pathfield ingoogle_pubsub_subscriptionresource as it is identical value toidfield. (#2939)
FEATURES:
- New Resource:
google_essential_contacts_contact(#2943) - New Resource:
google_privateca_certificate(#2924)
IMPROVEMENTS:
- bigquery: added
statusfield togoogle_bigquery_job(#2926) - compute: added
disk.resource_policiesfield to resourcegoogle_compute_instance_template(#2929) - compute: added
nic_typefield togoogle_compute_instance_templateresource to support gVNIC (#2941) - compute: added
nic_typefield togoogle_compute_instanceresource to support gVNIC (#2941) - pubsub: marked
kms_key_namefield ingoogle_pubsub_topicas updatable (#2942)
BUG FIXES:
- appengine: added retry for P4SA propagation delay (#2938)
- compute: fixed overly-aggressive detection of changes to google_compute_security_policy rules (#2940)
FEATURES:
- New Resource:
google_privateca_certificate(#2924)
IMPROVEMENTS:
- all: added plan time validations for fields that expect base64 values. (#2906)
- compute: added
disk.resource_policiesfield to resourcegoogle_compute_instance_template(#2929) - sql: added support for point-in-time-recovery to
google_sql_database_instance(#2923) - monitoring : added
availabilitysli metric support for the resourcegoogle_monitoring_slo(#2908)
BUG FIXES:
- bigquery: fixed bug where you could not reorder columns on
schemafor resourcegoogle_bigquery_table(#2913) - cloudrun: suppressed
run.googleapis.com/ingress-statusannotation ingoogle_cloud_run_service(#2920) - serviceaccount: loosened restrictions on
account_idfor datasourcegoogle_service_account(#2917)
BREAKING CHANGES:
- Reverted
* bigquery: made incompatible changes to thegoogle_bigquery_table.schemafield to cause the resource to be recreated ([#8232](https://github.com/hashicorp/terraform-provider-google/pull/8232))due to unintended interactions with a bug introduced in an earlier version of the resource.
FEATURES:
- New Data Source:
google_runtimeconfig_config(#8268)
IMPROVEMENTS:
- compute: added
distribution_policy_target_shapefield togoogle_compute_region_instance_group_managerresource (#8277) - container: promoted
master_global_access_config,tpu_ipv4_cidr_block,default_snat_statusanddatapath_providerfields ofgoogle_container_clusterto GA. (#8303) - dataproc: Added field
temp_buckettogoogle_dataproc_clustercluster config. (#8131) - notebooks: added
tags,service_account_scopes,shielded_instance_configtogoogle_notebooks_instance(#8289) - provider: added plan time validations for fields that expect base64 values. (#8304)
BUG FIXES:
- bigquery: fixed permadiff on expiration_ms for
google_bigquery_table(#8298) - billing: fixed perma-diff on currency_code in
google_billing_budget(#8266) - compute: changed private_ipv6_google_access in
google_compute_subnetworkto correctly send a fingerprint (#8290) - healthcare: add retry logic on healthcare dataset not initialized error (#8256)
KNOWN ISSUES: New google_bigquery_table behaviour introduced in this version had unintended consequences, and may incorrectly flag tables for recreation. We expect to revert this for 3.55.0.
FEATURES:
- New Data Source:
google_cloud_run_locations(#2864) - New Resource:
google_privateca_certificate_authority(#2877) - New Resource:
google_privateca_certificate_authority_iam_binding(#2883) - New Resource:
google_privateca_certificate_authority_iam_member(#2883) - New Resource:
google_privateca_certificate_authority_iam_policy(#2883)
IMPROVEMENTS:
- bigquery: made incompatible changes to the
google_bigquery_table.schemafield cause the resource to be recreated (#2876) - bigtable: fixed an issue where the
google_bigtable_instanceresource was not inferring the zone from the provider. (#2873) - cloudscheduler: fixed unnecessary recreate for
google_cloud_scheduler_job(#2882) - compute: added
scaling_schedulesfields togoogle_compute_autoscalerandgoogle_compute_region_autoscaler(beta) (#2879) - compute: fixed an issue where
google_compute_region_per_instance_config,google_compute_per_instance_config,google_compute_region_instance_group_managerresources were not inferring the region/zone from the provider. (#2874) - memcache: fixed an issue where
google_memcached_instanceresource was not inferring the region from the provider. (#2863) - tpu: fixed an issue where
google_tpu_noderesource was not inferring the zone from the provider. (#2863) - vpcaccess: fixed an issue where
google_vpc_access_connectorresource was not inferring the region from the provider. (#2863)
BUG FIXES:
- bigquery: fixed an issue in
bigquery_dataset_iam_memberwhere deleted members were not handled correctly (#2875) - compute: fixed a perma-diff on
google_compute_health_checkwhenlog_config.enableis set to false (#2866) - notebooks: fixed permadiff on noRemoveDataDisk for
google_notebooks_instance(#2880) - resourcemanager: fixed an inconsistent result when IAM conditions are specified with
google_folder_iam_*(#2878) - healthcare: added retry logic on healthcare dataset not initialized error (#2885)
FEATURES:
- New Data Source:
google_compute_instance_template(#2842) - New Resource:
google_apigee_organization(#2856)
IMPROVEMENTS:
- accesscontextmanager: added support for
google_access_context_manager_gcp_user_access_binding(#2851) - memcached: fixed an issue where
google_memcached_instanceresource was not inferring the region from the provider. (More info) - serviceaccount: added a
keepersfield togoogle_service_account_keythat recreates the field when it is modified (#2860) - sql: added restore from backup support to
google_sql_database_instance(#2843) - sql: added support for MYSQL_8_0 on resource
google_sql_source_representation_instance(#2841) - tpu: fixed an issue where
google_tpu_noderesource was not inferring the zone from the provider. (More info) - vpcaccess: fixed an issue where
google_vpc_access_connectorresource was not inferring the region from the provider. (More info)
BUG FIXES:
- bigquery: enhanced diff suppress to ignore certain api divergences on resource
table(#2840) - container: fixed crash due to nil exclusions object when updating an existent cluster with maintenance_policy but without exclusions (#2839)
- project: fixed a bug in
google_project_access_approval_settingswhere the defaultprojectwas used rather thanproject_id(#2852)
BREAKING CHANGES:
- billing: removed import support for
google_billing_budgetas it never functioned correctly (#2789)
FEATURES:
- New Data Source:
google_sql_backup_run(#2824) - New Data Source:
google_storage_bucket_object_content(#2785) - New Resource:
google_billing_subaccount(#2788) - New Resource:
google_pubsub_lite_subscription(#2781) - New Resource:
google_pubsub_lite_topic(#2781)
IMPROVEMENTS:
- bigtable: added support for specifying
durationforbigtable_gc_policyto allow durations shorter than a day (#2815) - compute: Added support for Google Virtual Network Interface (gVNIC) for
google_compute_image(#2779) - compute: added SHARED_LOADBALANCER_VIP as a valid option for
google_compute_address.purpose(#2773) - compute: added field
multiwriterto resourcedisk(beta) (#2822) - compute: added support for
enable_independent_endpoint_mappingtogoogle_compute_router_natresource (#2805) - compute: added support for
filter.directiontogoogle_compute_packet_mirroring(#2825) - compute: promoted
confidential_instance_configfield ingoogle_compute_instanceandgoogle_compute_instance_templateto GA (#2818) - dataflow: Added optional
kms_key_namefield forgoogle_dataflow_job(#2829) - dataflow: added documentation about using
parametersfor custom service account and other pipeline options togoogle_dataflow_flex_template_job(#2776) - redis: added
auth_stringoutput togoogle_redis_instancewhenauth_enabledistrue(#2819) - sql: added support for setting the
typefield ongoogle_sql_userto support IAM authentication (#2802)
BUG FIXES:
- bigquery: fixed a bug in
google_bigquery_connectionthat caused the resource to function incorrectly whenconnection_idwas unset (#2792) - compute: removed requirement for
google_compute_region_url_mapdefault_service, as it should be a choice of default_service or default_url_redirect (#2810) - cloud_tasks: fixed permadiff on retry_config.max_retry_duration for
google_cloud_tasks_queuewhen the 0s is supplied (#2812) - cloudfunctions: fixed a bug where
google_cloudfunctions_functionwould sometimes fail to update after being imported from gcloud (#2780) - cloudrun: fixed a permanent diff on
google_cloud_run_domain_mappingspec.force_overridefield (#2791) - container: added plan time validation to ensure
enable_private_nodesis true ifmaster_ipv4_cidr_blockis set on resourcecluster(#2811) - container: fixed an issue where setting
google_container_cluster.private_cluster_config[0].master_global_access_config.enabledtofalsecaused a permadiff. (#2816) - container: fixed setting kubelet_config to disable cpu_cfs_quota does not seem to work (#2820)
- dataproc: updated jobs to no longer wait for job completion during create (#2809)
- filestore: updated retry logic to fail fast on quota error which cannot succeed on retry. (#2814)
- logging: fixed updating on disabled in
google_logging_project_sink(#2821) - scheduler: Fixed syntax error in the Cloud Scheduler HTTP target example. (#2777)
- sql: fixed a bug in
google_sql_database_instancethat caused a permadiff onsettings.replication_type(#2778) - storage: updated IAM resources to refresh etag sooner on an IAM conflict error, which will make applications of multiple IAM resources much faster. (#2814)
BUG FIXES:
- all: fixed a bug that would occur in various resources due to comparison of large integers (#2826)
FEATURES:
- New Resource:
google_firestore_document(#2759)
IMPROVEMENTS:
- compute: added CDN features to
google_compute_region_backend_service. (#2762) - compute: added Flexible Cache Control features to
google_compute_backend_service. (#2762) - compute: added
replacement_methodfield toupdate_policyblock ofgoogle_compute_instance_group_manager(#2756) - compute: added
replacement_methodfield toupdate_policyblock ofgoogle_compute_region_instance_group_manager(#2756) - logging: added plan time validation for
unique_writer_identityongoogle_logging_project_sink(#2767) - storage: added more lifecycle conditions to
google_storage_bucketresource (#2761)
BUG FIXES:
- all: bump default request timeout to avoid conflicts if creating a resource takes longer than expected (#2769)
- project: fixed a bug where
google_project_default_service_accountswould delete all IAM bindings on a project when run withaction = "DEPRIVILEGE"(#2771) - spanner: fixed an issue in
google_spanner_databasewhere multi-statement updates were not formatted correctly (#2766) - sql: fixed a bug in
google_sql_database_instancethat caused a permadiff onsettings.replication_type(#2778)
FEATURES:
- New Data Source:
google_composer_environment(#2745) - New Data Source:
google_monitoring_cluster_istio_service(#2730) - New Data Source:
google_monitoring_mesh_istio_service(#2730)
IMPROVEMENTS:
- compute: added
replacement_methodfield toupdate_policyblock ofgoogle_compute_instance_group_manager(#2756) - compute: added
replacement_methodfield toupdate_policyblock ofgoogle_compute_region_instance_group_manager(#2756) - compute: added more fields to cdn_policy block of
google_compute_backend_bucket(#2741) - compute: updated
google_compute_url_map's fields referring to backend services to be able to refer to backend buckets. (#2754) - container: added cluster state check in
resource_container_node_pool(#2740) - google: added support for more import formats to google_project_iam_custom_role (#2735)
- project: added new restore_policy
REVERT_AND_IGNORE_FAILUREtogoogle_project_default_service_accounts(#2750) - serviceusage: Allowed use of field
forcewith updates togoogle_service_usage_consumer_quota_override(#2747)
BUG FIXES:
- bigqueryconnection: fixed failure to import a resource if it has a non-default project or location. (#2746)
- datacatalog: fixed permadiff on import for tags with a taxonomy set in config. (#2744)
- iam: fixed iam conflict handling so that optimistic-locking retries will succeed more often. (#2753)
- storage: fixed an issue in
google_storage_bucketwherecorscould not be removed (#2732)
FEATURES:
- New Resource: google_healthcare_consent_store (#2713)
- New Resource: google_healthcare_consent_store_iam_binding (#2713)
- New Resource: google_healthcare_consent_store_iam_member (#2713)
- New Resource: google_healthcare_consent_store_iam_policy (#2713)
IMPROVEMENTS:
- bigquery: added
ORCas a valid option tosource_formatfield ofgoogle_bigquery_tableresource (#2714) - compute: added
custom_response_headersfield togoogle_compute_backend_serviceresource (#2722) - container: added maintenance_exclusions_window to
google_container_cluster(#2724) - logging: added description and disabled to logging sinks (#2718)
- runtimeconfig: marked value and text fields in
google_runtimeconfig_variableresource as sensitive (#2717) - sql: added
deletion_policyfield togoogle_sql_userto enable abandoning users rather than deleting them (#2719)
BUG FIXES:
- bigtable: added ignore_warnings flag to create call for
google_bigtable_app_profile(#2716)
FEATURES:
- New Data Source:
google_iam_workload_identity_pool_provider(#2688)
IMPROVEMENTS:
- apigateway: added api_config_id_prefix field to
google_api_gateway_api_configresoure (#2692) - cloudfunctions: fixed a bug with
google_cloudfunction_functionthat blocked updates when Organization Policies are enabled. (#2681) - compute: added
autoscaling_policy.0.scale_in_controlfields togoogle_compute_autoscaler(#2703) - compute: added
autoscaling_policy.0.scale_in_controlfields togoogle_compute_region_autoscaler(#2703) - compute: added update support for
google_compute_interconnect_attachmentbandwidthfield (#2698) - dataproc: added "FLINK", "DOCKER", "HBASE" as valid options for field cluster_config.0.software_config.0.optional_components of
google_dataproc_clusterresource (#2683)
BUG FIXES:
- cloudrun: added diff suppress function for
google_cloud_run_domain_mappingmetadata.annotationsto ignore API-set fields (#2700) - compute: fixed an issue in
google_compute_packet_mirroringwhere updates would fail due tonetworknot being updatable (#2704) - datacatalog: fixed an issue in
google_data_catalog_taxonomyandgoogle_data_catalog_policy_tagwhere importing would fail (#2694) - spanner: marked
google_spanner_instance.configas ForceNew as is not updatable (#2699)
FEATURES:
- New Data Source:
google_iam_workload_identity_pool(#2663) - New Resource:
google_iam_workload_identity_pool_provider(#2670) - New Resource:
google_project_default_service_accounts(#2668)
IMPROVEMENTS:
- cloudfunctions: fixed a bug with
google_cloudfunction_functionthat blocked updates when Organization Policies are enabled. (#2681) - functions: added 4096 as a valid value for available_memory_mb field of
google_cloudfunction_function(#2666) - cloudrun: patched
google_cloud_run_serviceto suppress Google generated annotations (#2679)
BUG FIXES:
- dataflow: removed required validation for zone for
google_data_flow_jobwhen region is given in the config (#2662) - monitoring: Fixed type of
google_monitoring_slo'srangevalues - somerangevalues are doubles, others are integers. (#2655) - pubsub: Fixed permadiff on push_config.attributes. (#2672)
- storage: fixed an issue in
google_storage_bucketwherelifecycle_ruleswere always included in update requests (#2684)
NOTES:
- compute: updated
google_compute_machine_imageresource to complete once the Image is ready. (#2637)
FEATURES:
- New Resource:
google_api_gateway_api_config_iam_binding(#2636) - New Resource:
google_api_gateway_api_config_iam_member(#2636) - New Resource:
google_api_gateway_api_config_iam_policy(#2636) - New Resource:
google_api_gateway_api_config(#2636) - New Resource:
google_api_gateway_api_iam_binding(#2636) - New Resource:
google_api_gateway_api_iam_member(#2636) - New Resource:
google_api_gateway_api_iam_policy(#2636) - New Resource:
google_api_gateway_api(#2636) - New Resource:
google_api_gateway_gateway_iam_binding(#2636) - New Resource:
google_api_gateway_gateway_iam_member(#2636) - New Resource:
google_api_gateway_gateway_iam_policy(#2636) - New Resource:
google_api_gateway_gateway(#2636) - New Resource:
google_compute_instance_from_machine_image(#2637) - New Resource:
google_compute_machine_image_iam_binding(#2637) - New Resource:
google_compute_machine_image_iam_member(#2637) - New Resource:
google_compute_machine_image_iam_policy(#2637) - New Resource:
google_iap_tunnel_iam_binding(#2642) - New Resource:
google_iap_tunnel_iam_member(#2642) - New Resource:
google_iap_tunnel_iam_policy(#2642)
IMPROVEMENTS:
- asset: added conditions to Cloud Asset Feeds (#2640)
- bigquery: added
email_preferencesfield togoogle_bigquery_data_transfer_configresource (#2652) - bigquery: added
schedule_optionsfield togoogle_bigquery_data_transfer_configresource (#2641) - compute: added
private_ipv6_google_accessfield togoogle_compute_subnetwork(#2649) - compute: added storage_locations & cmek fields to
google_compute_machine_imageresource (#2637) - compute: added support for non-destructive updates to
export_custom_routesandimport_custom_routesforgoogle_compute_network_peering(#2633) - compute: relaxed
load_balancing_schemevalidation ofgoogle_compute_region_backend_serviceto support external network load-balancers (#2628) - container: added
confidential_nodesfield togoogle_container_clusterresource (#2632) - datacatalog: added taxonomy and policy_tag
google_data_catalog(#2626) - dlp: added
custom_info_typestogoogle_dlp_inspect_template(#2648) - functions: added
build_environment_variablesfield togoogle_cloudfunction_function(#2629) - kms: added
skip_initial_version_creationtogoogle_kms_crypto_key(#2645) - monitoring: added Monitoring Query Language based alerting for
google_monitoring_alert_policy(#2651)
BUG FIXES:
- compute: fixed an issue where
google_compute_health_checkportvalues caused a diff whenport_specificationwas unset or set to""(#2635) - monitoring: added more retries for potential failed monitoring operations (#2639)
- osconfig: fixed an issue where the
rollout.disruption_budget.percentagefield ingoogle_os_config_patch_deploymentdid not correspond to a field in the API (#2644) - sql: fixed a case in
google_sql_database_instancewhere we inadvertently required theprojects.getpermission for a service networking precheck introduced inv3.44.0(#2634)
BREAKING CHANGES:
- pubsub: changing the value of
google_pubsub_subscription.enable_message_orderingwill now recreate the resource. Previously, an error was returned. (#2624) - spanner:
google_spanner_databaseresources now cannot be destroyed unlessdeletion_protection = falseis set in state for the resource. (#2612)
NOTES:
- compute: added a warning to
google_compute_vpn_gateway(#2607)
FEATURES:
- New Data Source:
google_spanner_instance(#2602) - New Resource:
google_notebooks_instance_iam_binding(#2605) - New Resource:
google_notebooks_instance_iam_member(#2605) - New Resource:
google_notebooks_instance_iam_policy(#2605) - New Resource:
access_context_manager_access_level_condition(#2595) - New Resource:
google_bigquery_routine(#2622) - New Resource:
google_iam_workload_identity_pool(#2623) - New Resource:
google_data_catalog_taxonomy(#2626) - New Resource:
google_data_catalog_policy_tag(#2626) - New Resource:
google_data_catalog_taxonomy_iam_binding(#2626) - New Resource:
google_data_catalog_taxonomy_iam_member(#2626) - New Resource:
google_data_catalog_taxonomy_iam_policy(#2626) - New Resource:
google_data_catalog_policy_tag_iam_binding(#2626) - New Resource:
google_data_catalog_policy_tag_iam_member(#2626) - New Resource:
google_data_catalog_policy_tag_iam_policy(#2626)
IMPROVEMENTS:
- billing_budget: added
disable_default_iam_recipientsfield togoogle_billing_budgetto allow disable sending email notifications to default recipients. (#2606) - compute: added
interfaceattribute togoogle_compute_disk(#2609) - compute: added
mtufield togoogle_compute_networkresource (#2617) - compute: added support for updating
network_interface.[d].network_ipongoogle_compute_instancewhen changing network or subnetwork (#2590) - compute: promoted HA VPN fields in
google_compute_vpn_tunnelto GA (#2607) - compute: promoted
google_compute_external_vpn_gatewayto GA (#2607) - compute: promoted
google_compute_ha_vpn_gatewayto GA (#2607) - provider: added support for service account impersonation. (#2604)
- spanner: added
deletion_protectionfield togoogle_spanner_databaseto make deleting them require an explicit intent. (#2612)
BUG FIXES:
- all: fixed misleading "empty non-retryable error" message that was appearing in debug logs (#2618)
- compute: fixed incorrect import format for
google_compute_global_network_endpoint(#2594) - compute: fixed issue where
google_compute_[region_]backend_service.backend.max_utilizationcould not be updated (#2620) - iap: fixed an eventual consistency bug causing creates for
google_iap_brandto fail (#2592) - provider: fixed an issue where the request headers would grow proportionally to the number of resources in a given
terraform apply(#2621) - serviceusage: fixed bug where concurrent activations/deactivations of project services would fail, now they retry (#2591)
BREAKING CHANGE:
- Added
deletion_protectiontogoogle_sql_database_instance, which defaults to true. SQL instances can no longer be destroyed without settingdeletion_protection = false. (#2579)
FEATURES:
- New Data Source:
google_app_engine_default_service_account(#2568) - New Data Source:
google_pubsub_topic(#2556)
IMPROVEMENTS:
- bigquery: added ability for
google_bigquery_dataset_accessto retry quota errors since quota refreshes quickly. (#2584) - bigquery: added
MONTHandYEARas allowed values ingoogle_bigquery_table.time_partitioning.type(#2562) - cloud_tasks: added
stackdriver_logging_configfield tocloud_tasks_queueresource (#2572) - compute: added support for updating
network_interface.[d].network_ipongoogle_compute_instancewhen changing network or subnetwork (#2590) - compute: added
maintenance_policyfield togoogle_compute_node_group(#2586) - compute: added filter field to google_compute_image datasource (#2573)
- dataproc: Added
graceful_decomissioning_timeoutfield todataproc_clusterresource (#2571) - iam: fixed
google_service_account_id_tokendatasource to work with User ADCs and Impersonated Credentials (#2560) - logging: Added support for exclusions options for
google_logging_project_sink(#2569) - logging: added bucket creation based on custom-id given for the resource
google_logging_project_bucket_config(#2575) - oslogin: added ability to set a
projectongoogle_os_login_ssh_public_key(#2583) - redis: Added
auth_enabledfield togoogle_redis_instance(#2570) - resourcemanager: added a precheck that the serviceusage API is enabled to
google_projectwhenauto_create_networkis false, as configuring the GCE API is required in that circumstance (#2566) - sql: added a check to
google_sql_database_instanceto catch failures early by seeing if Service Networking Connections already exists for the private network of the instance. (#2579)
BUG FIXES:
- accessapproval: fixed issue where, due to a recent API change,
google_*_access_approval.enrolled_services.cloud_productentries specified as a URL would result in a permadiff (#2565) - compute: fixed ability to clear
descriptionfield ongoogle_compute_health_checkandgoogle_compute_region_health_check(#2580) - monitoring: fixed bug where deleting a
google_monitoring_dashboardwould give an "unsupported protocol scheme" error (#2558)
FEATURES:
- New Data Source:
google_pubsub_topic(#2556) - New Data Source:
google_compute_global_forwarding_rule(#2548) - New Data Source:
google_cloud_run_service(#2539) - New Resource:
google_bigtable_table_iam_member(#2536) - New Resource:
google_bigtable_table_iam_binding(#2536) - New Resource:
google_bigtable_table_iam_policy(#2536)
IMPROVEMENTS:
- appengine: added ability to manage pre-firestore appengine applications. (#2533)
- bigquery: added support for
google_bigquery_tablematerialized_viewfield (#2532) - cloudbuild: Added
COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLYsupport togoogle_cloudbuild_trigger.github.pull_request.comment_controlfield (#2552) - compute: added additional fields to the
google_compute_forwarding_ruledatasource. (#2550) - dns: added
forwarding_pathfield togoogle_dns_policyresource (#2540) - netblock: changed
google_netblock_ip_rangesto read from cloud.json file rather than DNS record (#2543)
BUG FIXES:
- accessapproval: fixed issue where, due to a recent API change,
google_*_access_approval.enrolled_services.cloud_productentries specified as a URL would result in a permadiff - artifactregistry: fixed an issue where
google_artifact_registry_repositorywould import an empty state (#2546) - bigquery: fixed an issue in
google_bigquery_jobwhere non-US locations could not be read (#2542) - cloudrun: fixed an issue in
google_cloud_run_domain_mappingwhere labels provided by Google would cause a diff (#2531) - compute: Fixed an issue where
google_compute_region_backend_servicerequiredhealthChecksfor a serverless network endpoint group. (#2547) - container: fixed
node_config.image_typeperma-diff when specified in lower case. (#2538) - datacatalog: fixed an error in
google_data_catalog_tagwhen trying to set boolean field tofalse(#2534) - monitoring: fixed bug where deleting a
google_monitoring_dashboardwould give an "unsupported protocol scheme" error
FEATURES:
- New Resource: google_data_loss_prevention_deidentify_template (#2524)
IMPROVEMENTS:
- compute: added support for updating
network_interface.[d].networkandnetwork_interface.[d].subnetworkproperties ongoogle_compute_instance. (#2517) - container: added
notification_configtogoogle_container_cluster(#2521) - dataflow: added
regionfield togoogle_dataflow_flex_template_jobresource (#2520) - healthcare: added field
parser_config.versiontogoogle_healthcare_hl7_v2_store(#2516)
BUG FIXES:
- bigquery: fixed an issue where
google_bigquery_tablewould crash while reading an empty schema (#2518) - compute: fixed an issue where
google_compute_instance_templatewould throw an error for unspecifieddisk_size_gbvalues while upgrading the provider. (#2515) - resourcemanager: fixed an issue in retrieving
google_active_folderdata source when the display name included whitespace (#2528)
IMPROVEMENTS:
- container: Added support for
datapath_providertogoogle_container_cluster(#2492) - cloudfunctions: added the ALLOW_INTERNAL_AND_GCLB option to
ingress_settingsofgoogle_cloudfunctions_functionresource. (#2493) - composer: allowed in-place updates to webserver and database machine type (#2491)
- compute: added
SEV_CAPABLEoption toguestOsFeaturesingoogle_compute_imageresource. (#2503) - tpu: added
use_service_networkingtogoogle_tpu_nodewhich enables Shared VPC Support. (#2497)
BUG FIXES:
- cloudidentity: Fixed upstream breakage of
google_identity_group. (#2507)
DEPRECATIONS:
- bigtable: deprecated
instance_typeforgoogle_bigtable_instance- it is now recommended to leave field unspecified. (#2477)
FEATURES:
- New Data Source:
google_compute_region_ssl_certificate(#2476) - New Resource:
google_compute_target_grpc_proxy(#2488)
IMPROVEMENTS:
- cloudlbuild: added
optionsandartifactsproperties togoogle_cloudbuild_trigger(#2490) - compute: added GRPC as a valid value for
google_compute_backend_service.protocol(and regional equivalent) (#2478) - compute: added 'all' option for
google_compute_firewall(#2465) - container: added support for
load_balancer_typetogoogle_container_clusterCloud Run config addon. (#2487) - dataflow: added
transformnameMappingtogoogle_dataflow_job(#2480) - serviceusage: added ability to pass google.project.id to
google_project_service.project(#2479) - spanner: added schema update/update ddl support for
google_spanner_database(#2489)
BUG FIXES:
- bigtable: fixed the update behaviour of the
single_cluster_routingsub-fields ingoogle_bigtable_app_profile(#2482) - dataproc: fixed issues where updating
google_dataproc_cluster.cluster_config.autoscaling_policywould do nothing, and where there was no way to remove a policy. (#2483) - osconfig: fixed a potential crash in
google_os_config_patch_deploymentdue to an unchecked nil value inrecurring_schedule(#2481) - serviceusage: fixed intermittent failure when a service is already being modified - added retries (#2469)
- serviceusage: fixed an issue where
bigquery.googleapis.comwas getting enabled as thebigquery-json.googleapis.comalias instead, incorrectly. This had no user impact yet, but the alias may go away in the future. (#2469)
IMPROVEMENTS:
- compute: added network field to
compute_target_instance(#2456) - compute: added storage_locations field to
google_compute_snapshot(#2461) - compute: added
kms_key_service_account,kms_key_self_linkfields tosnapshot_encryption_keyfield ingoogle_compute_snapshot(#2461) - compute: added
source_disk_encryption_key.kms_key_service_accountfield togoogle_compute_snapshot(#2461) - container: Added
self_linkto google_container_cluster (#2457)
BUG FIXES:
- bigquery: fixed a bug when a BigQuery table schema didn't have
namein the schema. Previously it would panic; now it logs an error. (#2462) - bigquery: fixed bug where updating
clusteringwould force a new resource rather than update. (#2459) - bigquerydatatransfer: fixed
params.secret_access_keyperma-diff for AWS S3 data transfer config types by adding asensitive_paramsblock with thesecret_access_keyattribute. (#2451) - compute: fixed bug where
delete_default_routes_on_create=truewas not actually deleting the default routes on create. (#2460
DEPRECATIONS:
- storage: deprecated
bucket_policy_onlyfield ingoogle_storage_bucketin favour ofuniform_bucket_level_access(#2442)
FEATURES:
- New Resource: google_compute_disk_iam_binding (#2424)
- New Resource: google_compute_disk_iam_member (#2424)
- New Resource: google_compute_disk_iam_policy (#2424)
- New Resource: google_compute_region_disk_iam_binding (#2424)
- New Resource: google_compute_region_disk_iam_member (#2424)
- New Resource: google_compute_region_disk_iam_policy (#2424)
- New Resource: google_data_loss_prevention_inspect_template (#2433)
- New Resource: google_data_loss_prevention_job_trigger (#2433)
- New Resource: google_data_loss_prevention_stored_info_type (#2444)
- New Resource: google_project_service_identity (#2430)
IMPROVEMENTS:
- compute: Added graceful termination to
google_compute_instance_group_managercreate calls so that partially created instance group managers will resume the original operation if the Terraform process is killed mid create. (#2446) - container: added project override support to
google_container_clusterandgoogle_container_nodepool(#2428) - notebooks: added
PD_BALANCEDas a possible disk type forgoogle_notebooks_instance(#2438) - osconfig: added rollout field to
google_os_config_patch_deployment(#2449) - provider: added a new field
billing_projectto the provider that's associated as a billing/quota project with most requests whenuser_project_overrideis true (#2427) - resourcemanager: added additional fields to
google_projectsdatasource (#2440) - serviceusage: added project override support to
google_project_service(#2428)
BUG FIXES:
- bigquerydatatransfer: fixed
params.secret_access_keyperma-diff for AWS S3 data transfer config types by adding asensitive_paramsblock with thesecret_access_keyattribute. (#2451) - compute: Fixed bug with
google_netblock_ip_rangesdata source failing to read from the correct URL (#2448) - compute: fixed updating
google_compute_instance.shielded_instance_configby adding it to theallow_stopping_for_updatelist (#2436) - notebooks: fixed broken
google_notebooks_instance.instance_ownersfield by making it a list instead of a string (#2438)
NOTES:
- Drop recommendation to use -provider= on import in documentation (#2417)
FEATURES:
- New Resource:
google_compute_image_iam_binding(#2410) - New Resource:
google_compute_image_iam_member(#2410) - New Resource:
google_compute_image_iam_policy(#2410) - New Resource:
google_compute_disk_iam_binding(#2424) - New Resource:
google_compute_disk_iam_member(#2424) - New Resource:
google_compute_disk_iam_policy(#2424) - New Resource:
google_compute_region_disk_iam_binding(#2424) - New Resource:
google_compute_region_disk_iam_member(#2424) - New Resource:
google_compute_region_disk_iam_policy(#2424)
IMPROVEMENTS:
- appengine: added
vpc_access_connectorfield togoogle_app_engine_standard_app_versionresource (#2405) - bigquery: added
notification_pubsub_topicfield togoogle_bigquery_data_transfer_configresource (#2411) - composer: added
database_configandweb_server_configtogoogle_composer_environmentresource (#2419) - compute: Added custom metadata fields and filter expressions to
google_compute_subnetworkflow log configuration (#2416) - compute: Added support to
google_compute_backend_servicefor setting a serverless regional network endpoint group asbackend.group(#2408) - compute: added support for pd-balanced disk type for
google_compute_instance(#2421) - container: added support for
kubelet_configandlinux_node_configto GKE node pools (#2279, #2403) - container: added support for pd-balanced disk type for
google_container_node_pool(#2421) - memcached: added discovery_endpoint to
resource_memcached_instance(#2414) - pubsub: added
retry_policytogoogle_pubsub_subscriptionresource (#2412)
BUG FIXES:
- compute: fixed an issue where
google_compute_url_mappath_matcher.default_route_actionwould conflict withdefault_url_redirect(#2406) - kms: updated
data_source_secret_manager_secret_versionto have consistent id value (#2415)
FEATURES:
- New Resource:
google_active_directory_domain_trust(#2401) - New Resource:
google_access_context_manager_service_perimeters(#2382) - New Resource:
google_access_context_manager_access_levels(#2382) - New Resource:
google_folder_access_approval_settings(#2373) - New Resource:
google_organization_access_approval_settings(#2373) - New Resource:
google_project_access_approval_settings(#2373) - New Resource:
google_bigquery_table_iam_policy(#2392) - New Resource:
google_bigquery_table_iam_binding(#2392) - New Resource:
google_bigquery_table_iam_member(#2392)
IMPROVEMENTS:
- billing: added
last_period_amountfield togoogle_billing_budgetto allow setting budget amount automatically to the last billing period's spend. (#2378) - compute: added confidential_instance_config block to google_compute_instance (#2369)
- compute: added confidential_instance_config block to google_compute_instance_template (#2369)
- compute: added grpc_health_check block to compute_health_check (#2389)
- compute: added grpc_health_check block to compute_region_health_check (#2389)
- pubsub: added
enable_message_orderingsupport togoogle_pubsub_subscription(#2390) - sql: added project field to
google_sql_database_instancedatasource. (#2370) - storage: added
ARCHIVEas an accepted class forgoogle_storage_bucketandgoogle_storage_bucket_object(#2385)
BUG FIXES:
- all: updated base urls for compute, dns, storage, and bigquery APIs to their recommended endpoints (#2396)
- bigquery: fixed a bug where
dataset_access.iam_memberwould produce inconsistent results after apply. (#2397) - bigquery: fixed an issue with
use_legacy_sqlnot being set tofalse. (#2375) - cloudidentity: fixed a bug with importing
google_cloud_identity_groupandgoogle_cloud_identity_group_membership(#2379) - cloudidentity: fixed cloud identity datasources to handle pagination (#2387)
- compute: set the default value for log_config.enable on
google_compute_health_checkto avoid permanent diff on plan/apply. (#2399) - dns: fixed an issue where
google_dns_managed_zonewould not removeprivate_visibility_configon updates (#2380) - sql: fixed an issue where
google_sql_database_instancewould throw an error when removingprivate_network. Removingprivate_networknow recreates the resource. (#2400)
NOTES:
- all: Updated lists of enums to display the enum options in the documentation pages. (#2340)
FEATURES:
- New Resource:
google_compute_region_network_endpoint_group(supports serverless NEGs) (#2348)
IMPROVEMENTS:
- appengine: converted
google_app_engine_standard_app_version'sinbound_servicesto an enum array, which enhances docs and provides some client-side validation. (#2344) - billing_budget: Added support for
monitoring_notification_channelsto allow sending budget notifications to Cloud Monitoring email notification channels. (#2366) - cloudbuild: added tags, source, queue_ttl, logs_bucket, substitutions, and secrets to
google_cloudbuild_trigger(#2335) - cloudfunctions: Updated the
google_cloudfunctions_functiondatasource to include new fields available in the API. (#2334) - compute: added
source_imageandsource_snapshottogoogle_compute_image(#2356) - compute: added confidential_instance_config block to google_compute_instance (#2369)
- compute: added confidential_instance_config block to google_compute_instance_template (#2369)
- iam: Added
public_key_typefield togoogle_service_account_key(#2368) - memcached: added memcacheVersion input and memcacheNodes output field to
google_memcache_instance(#2336) - pubsub: added
filterfield togoogle_pubsub_subscriptionresource (#2367) - resource-manager: updated documentation for
folder_iam_*andorganization_iam_*resources. (#2365) - sql: added support for point_in_time_recovery for
google_sql_database_instance(#2338)
BUG FIXES:
- appengine: Set
iapto computed ingoogle_app_engine_application(#2342) - artifactrepository: Fixed import failure of
google_artifact_registry_repository. (#2345) - compute: fixed shielded instance config, which had been failing to apply due to a field rename on the GCP side. (#2337)
- monitoring: fixed validation rules for
google_monitoring_slowindows_based_sli.metric_sum_in_range.maxfield (#2354) - osconfig: fixed
google_os_config_patch_deploymentwindows_update.classificationsfield to work correctly, accepting multiple values. (#2340)
NOTES:
- redis: explicitly noted in
google_redis_instancedocumentation that"REDIS_5_0"is supported (#2323) - all: fix markdown formatting while showing enum values in documentation (#2327)
FEATURES:
- New Resource:
google_compute_compute_organization_security_policy_association(#2333) - New Resource:
google_compute_compute_organization_security_policy_rule(#2333) - New Resource:
google_compute_compute_organization_security_policy(#2333)
IMPROVEMENTS:
- bigtable: added support for labels in
google_bigtable_instance(#2325) - cloudfunctions: updated the
google_cloudfunctions_functiondatasource to include new fields available in the API. (#2334) - compute: masked automatically applied GKE Sandbox node labels and taints on node pools (#2320)
- redis: added
persistence_iam_identityoutput field togoogle_redis_instance(#2323) - storage: added output-only
media_linktogoogle_storage_bucket_object(#2331)
BUG FIXES:
- compute: fixed issue where the
projectfield indata.google_compute_network_endpoint_groupwas returning an error when specified (#2324) - notebook: fixed bug where not setting
data_disk_typeordisk_encryptionwould cause a diff on the next plan (#2332) - sourcerepo: fixed perma-diff in
google_sourcerepo_repository(#2316) - all: fixed crash due to nil context when loading credentials (#2321)
DEPRECATIONS:
- compute: deprecated
enable_loggingongoogle_compute_firewall, definelog_config.metadatato enable logging instead. (#2310)
FEATURES:
- New Resource:
google_active_directory_domain(#2309) - New Resource:
google_dataflow_flex_template_job(#2303)
IMPROVEMENTS:
- cloudrun: added
portsfield togoogle_cloud_run_servicetemplates.spec.containers(#2311) - compute: added
log_config.metadatatogoogle_compute_firewall, defining this will enable logging. (#2310)
BUG FIXES:
- container: Fixed a crash in
google_container_clusterwhen""was specified forresource_usage_export_config.bigquery_destination.dataset_id. (#2296) - endpoints: Fixed a crash when
google_endpoints_serviceis used on a machine without timezone data (#2302) - resourcemanager: bumped
google_projecttimeout defaults to 10 minutes (from 4) (#2306
FEATURES:
- New Data Source:
google_sql_database_instance#2841 (#2273) - New Resource:
google_cloud_asset_folder_feed(#2284) - New Resource:
google_cloud_asset_organization_feed(#2284) - New Resource:
google_cloud_asset_project_feed(#2284) - New Resource:
google_monitoring_metric_descriptor(#2290) - New Resource:
google_os_config_guest_policies(#2276)
IMPROVEMENTS:
- cluster: Added
default_snat_statusfield forgoogle_container_clusterresource. (#2283) - filestore: Added
nfs_export_optionsfield ongoogle_filestore_instance.file_shares. (#2289) - filestore: Added support for filestore high scale tier. (#2289)
- resourcemanager: Added
folder_idas computed attribute togoogle_folderresource and datasource. (#2287) - compute: Added support to
google_compute_backend_servicefor setting a network endpoint group asbackend.group. (#2304)
BUG FIXES:
- container: Fixed
google_container_cluster.pod_security_policy_confignot being set when disabled. - container: Fixed a crash in
google_container_clusterwhen""was specified forresource_usage_export_config.bigquery_destination.dataset_id. (#2296) - bigquery: Fixed bug where a permadiff would show up when adding a column to the middle of a
bigquery_table.schema(#2275) - notebook: Fixed bug where many fields were being written as empty to state, causing a diff on the next plan (#2288)
- notebook: Fixed bug where setting
networkorsubnetto a full URL would succeed, but cause a diff on the next plan (#2288) - notebook: Fixed bug where updating certain fields would result in a no-op update call instead of a create/destroy. Now, the only field that is updatable in place is
labels(#2288)
FEATURES:
- New Data Source:
google_service_account_id_token(#2269) - New Resource:
google_cloudiot_device(#2266)
IMPROVEMENTS:
- bigquery: added support for BigQuery custom schemas for external data using CSV / NDJSON (#2264)
- datafusion: changed
versionfield to be settable ingoogle_data_fusion_instanceresource (#2268)
BUG FIXES:
- container: fixed a bug where
useIpAliaswas not defaulting to true inside theip_allocation_policyblock (#2260) - memcache: fixed field
memcache_parametersto work correctly ongoogle_memcache_instance(#2261)
FEATURES:
- New Data Source:
google_game_services_game_server_deployment_rollout(#2258) - New Resource:
google_os_config_patch_deployment(#2253)
IMPROVEMENTS:
- artifactregistry: Added field
kms_key_nametogoogle_artifact_registry_repository(#2254)
BUG FIXES:
- container: added the ability to update
database_encryptionwithout recreating the cluster. (#2259) - container: fixed a bug where useIpAlias was not defaulting to true inside the
ip_allocation_policyblock (#2260) - endpoints: fixed
google_endpoints_serviceto allow dependent resources to plan based on theconfig_idvalue. (#2248) - runtimeconfig: fixed
Requested entity was not found.error when config was deleted outside of terraform. (#2257)
NOTES:
- added the
https://www.googleapis.com/auth/cloud-identityscope to the provider by default (#2224) google_app_engine_*_version'sservicefield is required; previously it would have passed validation but failed on apply if it were absent. (#6720)
FEATURES:
- New Data Source:
google_cloud_identity_group_memberships(#2240) - New Data Source:
google_cloud_identity_groups(#2240) - New Resource:
google_cloud_identity_group_membership(#2224) - New Resource:
google_cloud_identity_group(#2224) - New Resource:
google_kms_key_ring_import_job(#2225) - New Resource:
google_folder_iam_audit_config(#2237)
IMPROVEMENTS:
- bigquery: Added
"HOUR"option forgoogle_bigquery_tabletime partitioning (type) (#2235) - compute: Added
modetogoogle_compute_region_autoscalerautoscaling_policy(#2226) - compute: Added
scale_down_controltogoogle_compute_region_autoscalerautoscaling_policy(#2226) - container: added
networking_modetogoogle_container_cluster(#2243) - endpoints: enable
google_endpoints_service-dependent resources to plan based on theconfig_idvalue. (#2248) - monitoring: added
request_method,content_type, andbodyfields within thehttp_checkobject togoogle_monitoring_uptime_check_configresource (#2233)
BUG FIXES:
- compute: Fixed an issue in
google_compute_managed_ssl_certificatewhere multiple fully qualified domain names would cause a permadiff (#2241) - compute: fixed an issue in
compute_url_mapwherepath_matchersub-fields would conflict withdefault_service(#2247) - container: fixed an issue in
google_container_clusterwhereworkload_metadata_configwould cause a permadiff (#2242)
FEATURES:
- New Data Source:
google_redis_instance(#2209) - New Resource:
google_notebook_environment(#2199) - New Resource:
google_notebook_instance(#2199)
IMPROVEMENTS:
- appengine: Enabled provisioning Firestore on a new project by adding the option to specify
database_typeingoogle_app_engine_application(#2193) - compute: Added
modetogoogle_compute_autoscalerautoscaling_policy(#2214) - compute: Added
remove_instance_state_on_destroytogoogle_compute_per_instance_configto control deletion of underlying instance state. (#2187) - compute: Added
remove_instance_state_on_destroytogoogle_compute_region_per_instance_configto control deletion of underlying instance state. (#2187) - compute: Added
scale_down_controlforgoogle_compute_autoscalerautoscaling_policy(#2214) - compute: Added SHARED_LOADBALANCER_VIP as an option for
google_compute_address.purpose(#2204) - dns: enabled
google_dns_policyto accept network id (#2189)
BUG FIXES:
- appengine: Added polling to
google_app_engine_firewall_ruleto prevent issues with eventually consistent creation (#2197) - compute: Allowed updating
google_compute_network_peering_routes_configimport_custom_routesandexport_custom_routesto false (#2190) - netblock: fixed the google netblock ranges returned by the
google_netblock_ip_rangesby targeting json on gstatic domain instead of reading SPF dns records (solution provided by network team) (#2210)
IMPROVEMENTS:
- accesscontextmanager: Added
customconfig togoogle_access_context_manager_access_level(#2180) - cloudbuild: Added
invert_regexflag in Github PullRequestFilter and PushFilter in triggerTemplate (#2171) - cloudrun: Added
template.spec.timeout_secondstogoogle_cloud_run_service(#2164) - compute: Added
cpu_over_commit_typetogoogle_compute_node_template(#2176) - compute: Added
min_node_cpusto theschedulingblocks oncompute_instanceandcompute_instance_template(#2169) - compute: Added
export_subnet_routes_with_public_ipandimport_subnet_routes_with_public_iptogoogle_compute_network_peering(#2170) - compute: Added
remove_instance_state_on_destroytogoogle_compute_per_instance_configto control deletion of underlying instance state. (#2187) - container: Added support for
private_cluster_config.master_global_access_configtogoogle_container_cluster(#2157) - compute: Added support for
google_compute_instance_groupinstancesto accept instance id field as well as self_link (#2161) - dns: Added support for
google_dns_policynetwork to acceptgoogle_compute_network.id(#2189) - redis: Added validation for name attribute in
redis_instance(#2167)
BUG FIXES:
- bigquery: Fixed
range_partitioning.range.startso that the value0is sent ingoogle_bigquery_table(#2153) - container: Fixed a regression in
google_container_clusterwhere the location was not inferred when using asubnetworkshortname value likename(#2160) - datastore: Added retries to
google_datastore_indexrequests when under contention. (#2154) - kms: Fixed the
idvalue in thegoogle_kms_crypto_key_versiondatasource to include a/v1part following//cloudkms.googleapis.com/, making it useful for interpolation into Binary Authorization. (#2165)
FEATURES:
- New Resource:
google_data_catalog_tag(#2144) - New Resource:
google_bigquery_dataset_iam_binding(#2147) - New Resource:
google_bigquery_dataset_iam_member(#2147) - New Resource:
google_bigquery_dataset_iam_policy(#2147) - New Resource:
google_memcache_instance(#2142) - New Resource:
google_network_management_connectivity_test(#2138)
IMPROVEMENTS:
- compute: added
default_route_actiontocompute_url_mapandcompute_url_map.path_matchers(#2143) - container : Added cluster_telemetry attribute to
google_container_cluster(#2149) - dialogflow: Changed
google_dialogflow_agent.time_zoneto be updatable (#2133) - dns: enabled google_dns_managed_zone to accept network id for two attributes (#2139)
- healthcare: Added support for
streaming_configstogoogle_healthcare_fhir_store(#2145) - monitoring: added
matcherattribute tocontent_matchersblock forgoogle_monitoring_uptime_check_config(#2150)
BUG FIXES:
- compute: fixed issue where trying to update the region of
google_compute_subnetworkwould fail instead of destroying/recreating the subnetwork (#2134) - dataflow: added retries in
google_dataflow_jobfor common retryable API errors when waiting for job to update (#2146) - dataflow: changed the update logic for
google_dataflow_jobto wait for the replacement job to start successfully before modifying the resource ID to point to the replacement job (#2140)
BREAKING CHANGES:
- bigquery: Add ability to manage credentials to
google_bigquery_connection. This field is required as the resource is not useful without them. (#2111)
FEATURES:
- New Resource:
google_data_catalog_tag_template(#2120) - New Resource:
google_container_analysis_occurence(#2114)
IMPROVEMENTS:
- appengine: added
inbound_servicestoStandardAppVersionresource (#2131) - bigquery: Added support for
google_bigquery_tablehive_partitioning_options(#2121) - container_analysis: Added top-level generic note fields to
google_container_analysis_note(#2114)
BUG FIXES:
- bigquery: Fixed an issue where
google_bigquery_jobwould return "was present, but now absent" error after job creation (#2122) - container: Changed retry logic for
google_container_node_pooldeletion to use timeouts and retry errors more specifically when cluster is updating. (#2115) - dataflow: fixed an issue where
google_dataflow_jobwould try to updatemax_workers(#2110) - dataflow: fixed an issue where updating
on_deleteingoogle_dataflow_jobwould cause the job to be replaced (#2110) - compute: fixed issue where removing all target pools from
google_compute_instance_group_managerorgoogle_compute_region_instance_group_managerhad no effect (#2124) - functions: Added retry to
google_cloudfunctions_functioncreation when API returns error while pulling source from GCS (#2116) - provider: Removed credentials from output error when provider cannot parse given credentials (#2113)
BREAKING CHANGES:
- bigquery: Add ability to manage credentials to
google_bigquery_connection. This field is required as the resource is not useful without them. (#2111)
FEATURES:
- New Resource:
google_compute_machine_image(#2109) - New Resources:
google_data_catalog_entry_group_iam_*(#2098) - New Resource:
google_data_catalog_entry_group(#2098) - New Resource:
google_data_catalog_entry(#2100)
IMPROVEMENTS:
- appengine: added
handlerstogoogle_flexible_app_version(#2105) - bigquery: suppressed diffs between fully qualified URLs and relative paths that reference the same table or dataset in
google_bigquery_job(#2107) - container: Added update support for
node_config.workload_metadata_configtogoogle_container_node_pool(#2091)
BUG FIXES:
- appengine: added ability to fully sync
StandardAppVersionresources (#2096) - bigquery: Fixed an issue with
google_bigquery_dataset_accessfailing for primitive roleroles/bigquery.dataViewer(#2092) - dataflow: fixed an issue where
google_dataflow_jobwould try to updatemax_workers(#2110) - dataflow: fixed an issue where updating
on_deleteingoogle_dataflow_jobwould cause the job to be replaced (#2110) - os_login: Fixed
google_os_login_ssh_public_keykeyfield attempting to update in-place (#2094)
BREAKING CHANGES:
- The base url for the
monitoringendpoint no longer includes the API version (previously "v3/"). If you use amonitoring_custom_endpoint, remove the trailing "v3/". (#2088)
FEATURES:
- New Data Source:
google_iam_testable_permissions(#2071) - New Resource:
google_monitoring_dashboard(#2088)
IMPROVEMENTS:
- bigquery: Added ability for various
table_idfields (and onedataset_idfield) ingoogle_bigquery_jobto specify a relative path instead of just the table id (#2079) - composer: Added support for
google_composer_environmentconfig.private_environment_config.cloud_sql_ipv4_cidr_block(#2075) - composer: Added support for
google_composer_environmentconfig.private_environment_config.web_server_ipv4_cidr_block(#2075) - composer: Added support for
google_composer_environmentweb_server_network_access_controlfor private environments (#2075) - container: Added update support for
node_config.workload_metadata_configtogoogle_container_node_pool(#2091) - container: Added
min_cpu_platformto google_container_cluster.cluster_autoscaling.auto_provisioning_defaults (#2086) - container: Added
release_channel_default_versiontodata.google_container_engine_versions, allowing you to find the default version for a release channel (#2068) - container: Added the ability to unspecify
google_container_cluster'smin_master_versionfield (#2068) - container: Added update support to
google_container_cluster'srelease_channelfield (#2068) - container: Added
config_connector_configgoogle_container_cluster(#2064) - monitoring: Added window-based SLI to
google_monitoring_slo(#2070)
BUG FIXES:
- compute: Fixed an issue where
google_compute_routecreation failed while VPC peering was in progress. (#2082) - Fixed an issue where data source
google_organizationwould ignore exact domain matches if multiple domains were found (#2085) - compute: Fixed
google_compute_interconnect_attachmentedge_availability_domaindiff when the field is unspecified (#2084) - compute: Fixed error where plan would error if
google_compute_region_disk_resource_policy_attachmenthad been deleted outside of terraform. (#2065) - compute: Raise limit on number of
src_ip_rangesvalues ingoogle_compute_security_policyto supported 10 (#2076) - iam: Fixed an issue where
google_service_accountshows an error after creating the resource (#2074)
BREAKING CHANGE:
google_bigtable_instanceresources now cannot be destroyed unlessdeletion_protection = falseis set in state for the resource. (#2061)
FEATURES:
- New Resource:
google_compute_region_per_instance_config(#2046) - New Resource:
google_dialogflow_entity_type(#2052)
IMPROVEMENTS:
- bigtable: added
deletion_protectionfield togoogle_bigtable_instanceto make deleting them require an explicit intent. (#2061) - compute: Added
google_compute_region_backend_serviceportNameparameter (#2048) - dataproc: Updated
google_dataproc_cluster.software_config.optional_componentsto include new options. (#2049) - monitoring: Added
request_basedSLI support togoogle_monitoring_slo(#2058) - storage: added
google_storage_bucketbucket name to the error message when the bucket can't be deleted because it's not empty (#2059)
BUG FIXES:
- bigquery: Fixed error where
google_bigquery_dataset_accessresources could not be found post-creation if role was set to a predefined IAM role with an equivalent primative role (e.g.roles/bigquery.dataOwnerandOWNER) (#2039) - compute: Fixed permadiff in
google_compute_instance_template'snetwork_tier. (#2054) - compute: Removed permadiff or errors on update for
google_compute_backend_serviceandgoogle_compute_region_backend_servicewhenconsistent_hashvalues were previously set on backend service but are not supported by updated value oflocality_lb_policy(#2044) - sql: Fixed occasional failure to delete
google_sql_database_instanceandgoogle_sql_user. (#2045)
FEATURES:
- New Resource:
google_compute_per_instance_config(#2029) - New Resource:
google_logging_billing_account_bucket_config(#2008) - New Resource:
google_logging_folder_bucket_config(#2008) - New Resource:
google_logging_organization_bucket_config(#2008) - New Resource:
google_logging_project_bucket_config(#2008)
IMPROVEMENTS:
- all: add configurable timeouts to several resources that did not previously have them (#2007)
- bigquery: added
service_account_namefield togoogle_bigquery_data_transfer_configresource (#2004) - cloudfunctions: Added validation to label keys for
google_cloudfunctions_functionas API errors aren't useful. (#2009) - compute: Added support for
stateful_diskto bothgoogle_compute_instance_group_managerandgoogle_compute_region_instance_group_manager. (#2006) - container: added
kalm_configaddon togoogle_container_cluster(#2027) - dataflow: Added drift detection for
google_dataflow_jobtemplate_gcs_pathandtemp_gcs_locationfields (#2021) - dataflow: Added support for update-by-replacement to
google_dataflow_job(#2021) - dataflow: added
additional_experimentsfield togoogle_dataflow_job(#2005) - dataproc: added component gateway support to
google_dataproc_cluster(#2035) - storage: Added retries for
google_storage_bucket_iam_*on 412 (precondition not met) errors for eventually consistent bucket creation. (#2011)
BUG FIXES:
- all: fixed bug where timeouts specified in units other than minutes were getting incorrectly rounded. Also fixed several instances of timeout values being used from the wrong method. (#2002)
- accesscontextmanager: Fixed setting
require_screen_lockto true forgoogle_access_context_manager_access_level(#2010) - appengine: Changed
google_app_engine_applicationto respect updates iniap(#2000) - bigquery: Fixed error where
google_bigquery_dataset_accessresources could not be found post-creation if role was set to a predefined IAM role with an equivalent primative role (e.g.roles/bigquery.dataOwnerandOWNER) (#2039) - bigquery: Fixed the
google_sheets_optionsat least one of logic. (#2030) - cloudscheduler: Fixed permadiff for
google_cloud_scheduler_job.retry_config.*block when API provides default values (#2028) - compute: Added lock to prevent
google_compute_routefrom changing while peering operations are happening on its network (#2016) - compute: Stopped force-recreation of
google_compute_backend_serviceandgoogle_compute_backend_serviceon updatinglocality_lb_policy(#2012) - compute: fixed issue where the default value for the attribute
advertise_modeongoogle_compte_router_peerwas not populated on import (#2024) - container: Fixed occasional error with
container_node_poolpartially-successful creations not being recorded if an error occurs on the GCP side. (#2038) - container: fixed issue where terraform would error if a gke instance group was deleted out-of-band (#2015)
- storage: Fixed setting/reading
google_storage_bucket_objectmetadata on API object (#2025) - storage: Marked the credentials field in
google_storage_object_signed_urlas sensitive so it doesn't expose private credentials. (#2026)
- New Resource:
google_artifact_registry_repository(#1981) - New Resource:
google_artifact_registry_repository_iam_policy(#1981) - New Resource:
google_artifact_registry_repository_iam_binding(#1981) - New Resource:
google_artifact_registry_repository_iam_member(#1981) - New Resource:
google_bigquery_connection(#2014)
IMPROVEMENTS:
- appengine: Added
automatic_scaling,basic_scaling, andmanual_scalingtogoogle_app_engine_standard_app_version(#1984) - bigquery: added
service_account_namefield togoogle_bigquery_data_transfer_configresource (#2004) - bigtable: added ability to add/remove column families in
google_bigtable_table(#1988) - cloudfunctions: Added validation to label keys for
google_cloudfunctions_functionas API errors aren't useful. (#2009) - compute: Added support for
stateful_diskto bothgoogle_compute_instance_group_managerandgoogle_compute_region_instance_group_manager. (#2006) - compute: Added support for default URL redirects to
google_compute_url_mapandgoogle_compute_region_url_map(#1998) - dataflow: Added
additional_experimentsfield togoogle_dataflow_job(#2005) - dns: Added
service_directory_configfield togoogle_dns_managed_zone(#1976) - compute: Added update of
google_compute_backend_serviceandgoogle_compute_backend_servicefield `locality_lb_policy (#2012)
BUG FIXES:
- accesscontextmanager: Fixed setting
require_screen_lockto true forgoogle_access_context_manager_access_level(#2010) - appengine: Changed
google_app_engine_applicationto respect updates iniap(#2000) - storage: Added retries for
google_storage_bucket_iam_*on 412 (precondition not met) errors for eventually consistent bucket creation. (#2011)
FEATURES:
- New Resource:
google_bigquery_job(#1959) - New Resource:
google_monitoring_slo(#1953) - New Resource:
google_service_directory_endpoint(#1964) - New Resource:
google_service_directory_namespace(#1964) - New Resource:
google_service_directory_service(#1964)
IMPROVEMENTS:
- bigtable: Reduced the minimum number of nodes for the
bigtable_instaceresource from 3 to 1. (#1968) - container: Added support for
google_container_clusterCompute Engine persistent disk CSI driver (#1969) - compute: Added support for
google_compute_instanceresource_policiesfield (#1957) - compute: Added support for
google_compute_resource_policygroup placement policies (#1957) - healthcare: Added
schemafield togoogle_healthcare_hl7_v2_store(#1962)
BUG FIXES:
- dataproc: Fixed diff when
google_dataproc_clusterpreemptible_worker_config.0.num_instancesis sized to 0 and otherpreemptible_worker_configsubfields are set (#1954) - resourcemanager: added a wait to
google_projectso that projects are more likely to be ready before the resource finishes creation (#1970) - sql: Allowed
binary_log_enabledto be disabled. (#1973) - sql: Fixed behaviour in
google_sql_databasewhen the parent instance is deleted, removing it from state (#1972)
FEATURES:
- New Data Source:
google_firebase_web_app_config(#1950) - New Data Source:
google_firebase_web_app(#1950) - New Data Source:
google_monitoring_app_engine_service(#1944) - New Resource:
google_firebase_web_app(#1950) - New Resource:
google_monitoring_custom_service(#1944) - New Resource:
google_compute_global_network_endpoint(#1948) - New Resource:
google_compute_global_network_endpoint_group(#1948) - New Resource:
google_monitoring_slo(#1953)
IMPROVEMENTS:
- appengine: Added
iap.enabledfield togoogle_app_engine_applicationresource (#1943) - iam: Added
namefield togoogle_organization_iam_custom_role(#1951) - iam: Added
namefield togoogle_project_iam_custom_role(#1951)
BUG FIXES:
- container: Fixed importing/reading
google_container_node_poolresources in non-RUNNING states (#1952) - container: Made
addons_config.cloudrun_configable to be updated without recreating and destroying. (#1942) - container: Made
addons_config.dns_cache_configable to be updated without recreating and destroying. (#1942) - monitoring: Made
display_nameoptional ongoogle_monitoring_notification_channel(#1947)
FEATURES:
- New Resource:
google_bigquery_dataset_access(#1924) - New Resource:
google_dialogflow_intent(#1936) - New Resource:
google_os_login_ssh_public_key(#1922)
IMPROVEMENTS:
- accesscontextmanager: added
specanduse_explicit_dry_run_spectogoogle_access_context_manager_service_perimeterto test perimeter configurations in dry-run mode. (#1940) - compute: Added update support for
google_compute_interconnect_attachmentadmin_enabled(#1931) - compute: Added field
log_configtogoogle_compute_health_checkandgoogle_compute_region_health_checkto enable health check logging. (#1934) - compute: Added more import formats for
google_compute_instance(#1933) - sourcerepo: allowed
google_sourcerepo_repopubsub_configs.topicto accept short topic names in addition to full references. (#1938)
BUG FIXES:
- compute: Fixed diff on default value for
google_compute_interconnect_attachmentadmin_enabled(#1931) - compute: Fixed perma-diff on
google_compute_interconnect_attachmentcandidate_subnets(#1931) - compute: fixed bug where
google_compute_instance_from_templateinstance defaults were overridingscheduling(#1939) - iap:
projectcan now be unset iniap_web_iam_memberand will read from the defaultproject(#1935) - serviceusage: fixed issue where
google_project_servicesattempted to read a project before enabling the API that allows that read (#1937) - sql: fixed error that occurred on
google_sql_database_instancewhensettings.ip_configurationwas set butipv4_enabledwas not set to true andprivate_networkwas not configured, by defaultingipv4_enabledto true. (#1926) - storage: fixed bug where deleting a
google_storage_bucketthat contained non-deletable objects would retry indefinitely (#1929)
FEATURES:
- New Data Source:
google_monitoring_uptime_check_ips(#1912) - New Resource:
firebase_project_location: finalizes the firebase location. (#1919)
IMPROVEMENTS:
- cloudfunctions: Added
ingress_settingsfield togoogle_cloudfunctions_function(#1898) - cloudfunctions: added support for
vpc_connector_egress_settingstogoogle_cloudfunctions_function(#1904) - accesscontextmanager: added
status.vpc_accessible_servicestogoogle_access_context_manager_service_perimeterto control which services are available from the perimeter's VPC networks to the restricted Google APIs IP address range. (#1910) - cloudrun: added ability to autogenerate revision name (#1900)
- compute: added ability to resize
google_compute_reservation(#1908) - container: added
enable_resource_consumption_meteringtoresource_usage_export_configingoogle_container_cluster(#1901) - dns: added ability to update
google_dns_managed_zone.dnssec_config(#1914) - pubsub: Added
dead_letter_policysupport togoogle_pubsub_subscription(#1913)
BUG FIXES:
- compute: Fixed an issue where
portcould not be removed from health checks (#1906) - storage: fixed an issue where
google_storage_bucket_iam_membershowed a diff for bucket self links (#1918)
FEATURES:
- New Resource:
google_compute_instance_group_named_port(#1869) - New Resource:
google_service_usage_consumer_quota_override(#1884) - New Resource:
google_firebase_project: enables Firebase for a referenced Google project (#1885) - New Resource:
google_iap_brand(#1848) - New Resource:
google_iap_client(#1848) - New Resource:
google_appengine_flexible_app_version(#1849)
IMPROVEMENTS:
- accesscontextmanager: Added
regionsfield togoogle_access_context_manager_access_level(#1882) - compute: added support for IAM conditions in
google_compute_subnet_iam_*IAM resources (#1877) - kms: Added new field "Additional Authenticated Data" for Cloud KMS data source
google_kms_secret(#1886) - kms: Added new field "Additional Authenticated Data" for Cloud KMS resource
google_kms_secret_ciphertext(#1886)
BUG FIXES:
- kms: Fixed an issue in
google_kms_crypto_key_versionwherepublic_keywould return empty after apply (#1879) - logging: Fixed import issue with
google_logging_metricin a non-default project. (#1876) - provider: Fixed an error with resources failing to upload large files (e.g. with
google_storage_bucket_object) during retried requests (#1894)
FEATURES:
- New Data Source:
google_compute_instance_serial_port(#1860) - New Resource:
google_compute_region_ssl_certificate(#1863)
IMPROVEMENTS:
- compute: Added new attribute reference
current_statusto thegoogle_compute_instanceresource (#1857) - container: Added
dns_cache_configfield togoogle_container_clusterresource (#1853) - container: Updated
upgrade_settingsto read defaults from API for thegoogle_container_node_poolresource (#1859) - provider: Added provider-wide request retries for common temporary GCP error codes and network errors (#1856)
- redis: Added
connect_modefield togoogle_redis_instanceresource (#1854)
BREAKING CHANGES:
- dialogflow: Changed
google_dialogflow_agent.time_zoneto ForceNew. Updating this field will require recreation. This is due to a change in API behavior. (#1827)
FEATURES:
- New Resource:
google_bigquery_reservation(#1833) - New Resource:
google_compute_region_disk_resource_policy_attachment(#1836) - New Resource:
google_sql_source_representation_instance(#1832)
IMPROVEMENTS:
- bigtable: Added support for full-name/id
instance_namevalue ingoogle_bigtable_tableandgoogle_bigtable_gc_policy(#1830) - compute: Added
autoscaling_policytogoogle_compute_node_group(#1841) - compute: Added support for full-name/id
network_endpoint_groupvalue ingoogle_network_endpoint(#1831) - dialogflow: Changed
google_dialogflow_agentto not readtierstatus (#1829) - monitoring: Added
sensitive_labelstogoogle_monitoring_notification_channelso that labels likepasswordandauth_tokencan be managed separately from the other labels and marked as sensitive. (#1844)
BUG FIXES:
- all: fixed issue where nested objects were getting sent as null values to GCP on create instead of being omitted from requests (#1822)
- cloudfunctions: fixed
vpc_connectorto be updated properly ingoogle_cloudfunctions_function(#1825) - compute: fixed
google_compute_security_policyfrom allowing two rules with the same priority. (#1828) - compute: fixed bug where
google_compute_instance.scheduling.node_affinities.operatorwould incorrectly acceptNOTrather thanNOT_IN. (#1835) - container: Fixed issue where
google_container_node_poolresources created in the 2.X series were failing to update after 3.11. (#1846)
IMPROVEMENTS:
- serviceusage:
google_project_serviceno longer attempts to enable a service that is already enabled. (#1814) - bigtable: Added support for full-name/id
instancevalue ingoogle_bigtable_app_profile(#1804) - pubsub: Added polling to ensure correct resource state for negative-cached PubSub resources (#1816)
BUG FIXES:
- compute: Fixed a scenario where
google_compute_instance_templatewould cause a crash. (#1812) - storage: Added check for bucket retention policy list being empty. (#1807)
- storage: Added locking for operations involving
google_storage_*_access_controlresources to prevent errors from ACLs being added at the same time. (#1806) - container: Fixed panic when upgrading
google_container_clusterwith autoscaling block. (#1766)
FEATURES:
- New Data Source:
google_compute_backend_bucket(#1778) - New Resource:
google_app_engine_service_split_traffic(#1785) - New Resource:
google_compute_packet_mirroring(#1791) - New Resource: Added new resource
google_game_services_game_server_cluster(#1789) - New Resource: Added new resource
google_game_services_game_server_config(#1789) - New Resource: Added new resource
google_game_services_game_server_deployment_rollout(#1789) - New Resource: Added new resource
google_game_services_game_server_deployment(#1789) - New Resource: Added new resource
google_game_services_realm(#1789)
IMPROVEMENTS:
- bigquery: Landed support for range-based partitioning in
google_bigquery_table(#1782) - compute: added check on
google_compute_routerfor non-empty advertised_groups or advertised_ip_ranges values when advertise_mode is DEFAULT in the bgp block. (#1776) - compute: added the ability to manage the status of
google_compute_instanceresources with thedesired_statusfield (#1786) - iam:
google_project_iam_memberandgoogle_project_iam_binding'sprojectfield can be specified with an optionalprojects/prefix (#1780) - storage: added
metadatatogoogle_storage_bucket_object. (#1779)
BUG FIXES:
- compute: Updated
google_projectto check for valid permissions on the parent billing account before creating and tainting the resource. (#1777) - container: Fixed panic when upgrading
google_container_clusterwithautoscalingblock (#1766)
BREAKING CHANGES:
- container: Fully removed
use_ip_aliasesandcreate_subnetworkfields to fix misleading diff for removed fields (#1760)
FEATURES:
- New Data Source:
google_dns_keys(#1768) - New Resource:
google_datastore_index(#1755) - New Resource:
google_storage_hmac_key(#1765) - New Resource:
google_endpoints_service_iam_binding(#1761) - New Resource:
google_endpoints_service_iam_member(#1761) - New Resource:
google_endpoints_service_iam_policy(#1761)
IMPROVEMENTS:
- container: Enabled configuring autoscaling profile in GKE clusters (https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler#autoscaling_profiles) (#1756)
- container: Allowed import/update/deletion of
google_container_clusterin error states (#1759) - container: Changed
google_container_node_poolso node pools created in an error state will be marked as tainted on creation. (#1758) - container: Allowed import/update/deletion of
google_container_node_poolin error states and updated resource to wait for a stable state after any changes. (#1758) - container: added label_fingerprint to
google_container_cluster(#1750) - dataflow: added
job_idfield togoogle_dataflow_job(#1754) - dataflow: added computed
typefield togoogle_dataflow_job. (#1771) - healthcare: added
versionfield togoogle_healthcare_fhir_store(#1769) - provider: Added retries for common network errors we've encountered. (#1762)
FEATURES:
- New Resource:
google_container_registry(#1725)
IMPROVEMENTS:
- all: improve error handling of 404s. (#1728)
- bigtable: added update support for
display_nameandinstance_type(#1751) - container:
google_container_clusterwill wait for a stable state after updates. (#1737) - container: added support for
autoscaling_profiletogoogle_container_cluster(#1756) - container: added
boot_disk_kms_keytonode_configblock. (#1736) - dataflow: added
job_idfield togoogle_dataflow_job(#1754) - dialogflow: improve error handling by increasing retry count (#1730)
- resourcemanager: fixed retry behavior for updates in
google_project, added retries for billing metadata requests (#1735) - sql: add
encryption_key_nametogoogle_sql_database_instance(#1724)
BUG FIXES:
- cloudrun: fixed permadiff caused by new API default values on
annotationsandlimits(#1727) - container: Removed restriction on
auto_provisioning_defaultsto allow bothoauth_scopesandservice_accountto be set (#1748) - firestore: fixed import of
google_firestore_indexwhen database or collection were non-default. (#1741) - iam: Fixed an erroneous error during import of IAM resources when a provider default project/zone/region is not defined. (#1734)
- kms: Fixed issue where
google_kms_crypto_key_versiondatasource would throw an Invalid Index error on plan (#1740)
NOTES:
- provider: added documentation for the
idfield for many resources, including format (#1697) BREAKING CHANGES: - compute: Added conditional requirement of
google_compute_**region**_backend_servicebackend.capacity_scalerto no longer accept the API default if not INTERNAL. Non-INTERNAL backend services must now specifycapacity_scalerexplicitly and have a total capacity greater than 0. In addition, API default of 1.0 must now be explicitly set and will be treated as nil or zero if not set in config. (#1707)
FEATURES:
- New Data Source:
secret_manager_secret_version(#1708) - New Resource:
google_access_context_manager_service_perimeter_resource(#1712) - New Resource:
secret_manager_secret_version(#1708) - New Resource:
secret_manager_secret(#1708) - New Resource:
google_dialogflow_agent(#1706)
IMPROVEMENTS:
- appengine: added support for
google_app_engine_application.iap(#1703) - compute:
google_compute_security_policyrule.match.exprfield is now GA (#1692) - compute: added additional validation to
google_cloud_router'sbgp.asnfield. (#1699)
BUG FIXES:
- bigtable: fixed diff for DEVELOPMENT instances that are returned from the API with one node (#1704)
- compute: Fixed
backend.capacity_scalerto actually set zero (0.0) value. (#1707) - compute: Fixed
google_compute_**region**_backend_serviceso it no longer has a permadiff ifbackend.capacity_scaleris unset in config by requiring capacity scaler. (#1707) - compute: updated
google_compute_project_metadata_itemto fail on create if its key is already present in the project metadata. (#1714) - logging: updated
bigquery_optionsso the default value from the api will be set in state. (#1694) - sql: undeprecated
settings.ip_configuration.authorized_networks.expiration_time(#1691)
IMPROVEMENTS:
- binaryauthorization: moved from beta API to ga API in anticipation of beta API turndown. (#1689)
- dns:
google_dns_managed_zoneadded support for Non-RFC1918 fields for reverse lookup and fowarding paths. (#1685) - monitoring: Added
labelsanduser_labelsfilters to data sourcegoogle_monitoring_notification_channel(#1666)
BUG FIXES:
- bigtable: fixed diff for DEVELOPMENT instances that are returned from the API with one node (#1704)
- compute:
google_compute_instance_templateadded plan time check for any disks markedbootoutside of the first disk (#1684) - container: Fixed perma-diff in
google_container_cluster'scluster_autoscaling.auto_provisioning_defaults. (#1679) - logging: updated
bigquery_optionsso the default value from the api will be set in state. (#1694) - storage: Stopped
project-ownershowing up in the diff forgoogle_storage_bucket_acl(#1674)
KNOWN ISSUES:
- bigtable: due to API changes, bigtable DEVELOPMENT instances may show a diff on
num_nodes. There will be a fix in the 3.7.0 release of the provider. No known workarounds exist at the moment, but will be tracked in https://github.com/terraform-providers/terraform-provider-google/issues/5492.
FEATURES:
- New Data Source: google_monitoring_notification_channel (#1643)
- New Resource: google_compute_network_peering_routes_config (#1652)
IMPROVEMENTS:
- compute: added waiting logic to
google_compute_interconnect_attachmentto avoid modifications when the attachment is UNPROVISIONED (#1664) - compute: made the
google_compute_network_peeringroutes fields available in GA (#1650) - datafusion: Added
service_accountfield togoogle_data_fusion_instance(#1660) - iap: added support for IAM conditions in
google_iap_tunnel_instance_iam_*IAM resources (#1654) - resourcemanager: restricted the length of the
descriptionfield ofgoogle_service_account. It is now limited to 256 characters. (#1646) - scheduler: Added
attempt_deadlinetogoogle_cloud_scheduler_job. (#1639) - storage: added
default_event_based_holdtogoogle_storage_bucket(#1626)
BUG FIXES:
- compute: Fixed
google_compute_instance_from_templatewith existing boot disks (#1655) - compute: Fixed a bug in
google_compute_instancewhen attempting to update a field that requires stopping and starting an instance with an encrypted disk (#1658)
DEPRECATIONS:
- kms: deprecated
data.google_kms_secret_ciphertextas there was no way to make it idempotent. Instead, use thegoogle_kms_secret_ciphertextresource. (#1586) - sql: deprecated first generation-only fields on
google_sql_database_instance(#1628)
FEATURES:
- New Resource:
google_kms_secret_ciphertext(#1586)
IMPROVEMENTS:
- bigtable: added the ability to add/remove clusters from
google_bigtable_instance(#1589) - compute: added support for other resource types (like a Proxy) as a
targettogoogle_compute_forwarding_rule(#1630) - dataproc: added
lifecycle_configtogoogle_dataproc_cluster.cluster_config(#1593) - iam: updated to allow for empty bindings in
data_source_google_iam_policydata source (#1173) - provider: added retries for batched requests so failed batches will retry each single request separately. (#1615)
- resourcemanager: restricted the length of the
descriptionfield ofgoogle_service_account. It is now limited to 256 characters. (#1646)
BUG FIXES:
- bigtable: Fixed error on reading non-existent
google_bigtable_gc_policy,google_bigtable_instance,google_bigtable_table(#1597) - cloudfunctions: Fixed validation of
google_cloudfunctions_functionname to allow for 63 characters. (#1640) - cloudtasks: Changed
max_dispatches_per_secondto a double instead of an integer. (#1633) - compute: Added validation for
compute_resource_policyto no longer allow invalidstart_timevalues that weren't hourly. (#1603) - compute: Fixed errors from concurrent creation/deletion of overlapping
google_compute_network_peeringresources. (#1601) - compute: Stopped panic when using
usage_export_bucketand the setting had been disabled manually. (#1610) - compute: fixed
google_compute_router_nattimeout fields causing a diff when using a long-lived resource (#1613) - compute: fixed
google_compute_target_https_proxy.quic_overridecausing a diff when using a long-lived resource (#1611) - identityplatform: fixed
google_identity_platform_default_supported_idp_configto correctly allow configuration of bothidp_idandclient_idseparately (#1638) - monitoring: Stopped
labelsfrom causing a perma diff onAlertPolicy(#1622)
DEPRECATIONS:
- kms: deprecated
data.google_kms_secret_ciphertextas there was no way to make it idempotent. Instead, use thegoogle_kms_secret_ciphertextresource. (#1586)
BREAKING CHANGES:
google_iap_web_iam_*,google_iap_web_type_compute_iam_*,google_iap_web_type_app_engine_*, andgoogle_iap_app_engine_service_iam_*resources now support IAM Conditions (beta provider only). If any conditions had been created out of band before this release, take extra care to ensure they are present in your Terraform config so the provider doesn't try to create new bindings with no conditions. Terraform will show a diff that it is adding the condition to the resource, which is safe to apply. (#1527)google_kms_key_ring_iam_*andgoogle_kms_crypto_key_iam_*resources now support IAM Conditions (beta provider only). If any conditions had been created out of band before this release, take extra care to ensure they are present in your Terraform config so the provider doesn't try to create new bindings with no conditions. Terraform will show a diff that it is adding the condition to the resource, which is safe to apply. (#1524)- cloudrun: Changed
google_cloud_run_domain_mappingto correctly match Cloud Run API expected format forspec.route_name, {serviceName}, instead of invalid projects/{project}/global/services/{serviceName} (#1563) - compute: Added back ConflictsWith restrictions for ExactlyOneOf restrictions that were removed in v3.3.0 for
google_compute_firewall,google_compute_health_check, andgoogle_compute_region_health_check. This effectively changes an API-side failure that was only accessible in v3.3.0 to a plan-time one. (#1534) - logging: Changed
google_logging_metric.metric_descriptors.labelsfrom a list to a set (#1559) - resourcemanager: Added back ConflictsWith restrictions for ExactlyOneOf restrictions that were removed in v3.3.0 for
google_organization_policy,google_folder_organization_policy, andgoogle_project_organization_policy. This effectively changes an API-side failure that was only accessible in v3.3.0 to a plan-time one. (#1534)
FEATURES:
- New Data Source:
google_sql_ca_certs(#1580) - New Resource:
google_identity_platform_default_supported_idp_config(#1523) - New Resource:
google_identity_platform_inbound_saml_config(#1523) - New Resource:
google_identity_platform_oauth_idp_config(#1523) - New Resource:
google_identity_platform_tenant_default_supported_idp_config(#1523) - New Resource:
google_identity_platform_tenant_inbound_saml_config(#1523) - New Resource:
google_identity_platform_tenant_oauth_idp_config(#1523) - New Resource:
google_identity_platform_tenant(#1523) - New Resource:
google_kms_crypto_key_iam_policy(#1554) - New Resource:
google_kms_secret_ciphertext(#1586)
IMPROVEMENTS:
- composer: Increased default timeouts for
google_composer_environment(#1539) - compute: Added graceful termination to
container_clustercreate calls so that partially created clusters will resume the original operation if the Terraform process is killed mid create. (#1533) - compute: Fixed
google_compute_disk_resource_policy_attachmentparsing of region from zone to allow for provider-level zone and make error message more accurate` (#1557) - datafusion: Increased default timeouts for
google_data_fusion_instance(#1545) - datafusion: Increased update timeout for updating
google_data_fusion_instance(#1538) - healthcare: Enabled request batching for (beta-only) Healthcare API IAM resources
google_healthcare_*_iam_*to reduce likelihood of errors from very low default write quota. (#1558) - iap: added support for IAM Conditions to the
google_iap_web_iam_*,google_iap_web_type_compute_iam_*,google_iap_web_type_app_engine_*, andgoogle_iap_app_engine_service_iam_*resources (beta provider only) (#1527) - kms: added support for IAM Conditions to the
google_kms_key_ring_iam_*andgoogle_kms_crypto_key_iam_*resources (beta provider only) (#1524) - provider: Reduced default
send_aftercontrolling the time interval after which a batched request sends. (#1565)
BUG FIXES:
- all: fixed issue where many fields that were removed in 3.0.0 would show a diff when they were removed from config (#1585)
- bigquery: fixed
bigquery_table.encryption_configurationto correctly recreate the table when modified (#1591) - cloudrun: Changed
google_cloud_run_domain_mappingto correctly match Cloud Run API expected format forspec.route_name, {serviceName}, instead of invalid projects/{project}/global/services/{serviceName} (#1563) - cloudrun: Changed
cloud_run_domain_mappingto poll for success or failure and throw an appropriate error when ready status returns as false. (#1564) - cloudrun: Fixed
google_cloudrun_serviceto allow update instead of force-recreation for changes inspecenvandcommandfields (#1566) - cloudrun: Removed unsupported update for
google_cloud_run_domain_mappingto allow force-recreation. (#1556) - cloudrun: Stopped returning an error when a
cloud_run_domain_mappingwas waiting on DNS verification. (#1587) - compute: Fixed
google_compute_backend_serviceto allow updatingcdn_policy.cache_key_policy.*fields to false or empty. (#1569) - compute: Fixed behaviour where
google_compute_subnetworkdid not record a value fornamewhenself_linkwas specified. (#1579) - container: fixed issue where an empty variable in
tagswould cause a crash (#1543) - endpoints: Added operation wait for
google_endpoints_serviceto fix 403 "Service not found" errors during initial creation (#1560) - logging: Made
google_logging_metric.metric_descriptors.labelsa set to prevent diff from ordering (#1559) - resourcemanager: added retries for
data.google_organization(#1553) - vpcaccess: marked
networkfield as required in order to fail invalid configs at plan-time instead of at apply-time (#1577)
BREAKING CHANGES:
google_storage_bucket_iam_*resources now support IAM Conditions (beta provider only). If any conditions had been created out of band before this release, take extra care to ensure they are present in your Terraform config so the provider doesn't try to create new bindings with no conditions. Terraform will show a diff that it is adding the condition to the resource, which is safe to apply. (#1479)
FEATURES:
- New Resource:
google_compute_region_health_checkis now available in GA (#1507) - New Resource:
google_deployment_manager_deployment(#1498)
IMPROVEMENTS:
- bigquery: added
PARQUETas an option ingoogle_bigquery_table.external_data_configuration.source_format(#1514) - compute: Added
allow_global_accessfor togoogle_compute_forwarding_ruleresource. (#1511) - compute: added support for up to 100 domains on
google_compute_managed_ssl_certificate(#1519) - dataproc: added support for
security_configtogoogle_dataproc_cluster(#1492) - storage: added support for IAM Conditions to the
google_storage_bucket_iam_*resources (beta provider only) (#1479) - storage: updated
idandbucketfields forgoogle_storage_bucket_iam_*resources to useb/{bucket_name}(#1479)
BUG FIXES:
- compute: Fixed an issue where interpolated values caused plan-time errors in
google_compute_router_interface. (#1517) - compute: relaxed ExactlyOneOf restrictions on
google_compute_firewall,google_compute_health_check, andgoogle_compute_region_health_checkto enable the use of dynamic blocks with those resources. (#1520) - iam: Fixed a bug that causes badRequest errors on IAM resources due to deleted serviceAccount principals (#1501)
- resourcemanager: relaxed ExactlyOneOf restrictions on
google_organization_policy,google_folder_organization_policy, andgoogle_project_organization_policyto enable the use of dynamic blocks with those resources. (#1520) - sourcerepo: Fixed a bug preventing repository IAM resources from referencing repositories with the
/character in their name (#1521) - sql: fixed bug where terraform would keep retrying to create new
google_sql_database_instancewith the name of a previously deleted instance (#1500)
DEPRECATIONS:
- compute: deprecated
fingerprintfield ingoogle_compute_subnetwork. Its value is now always"". (#1482)
FEATURES:
- New Data Source:
data_source_google_bigquery_default_service_account(#1471) - New Resource: cloudrun: Added support for
google_cloud_run_serviceIAM resources:google_cloud_run_service_iam_policy,google_cloud_run_service_iam_binding,google_cloud_run_service_iam_member(#1456)
IMPROVEMENTS:
- all: Added
synchronous_timeoutto provider block to allow setting higher per-operation-poll timeouts. (#1449) - bigquery: Added KMS support to
google_bigquery_table(#1471) - cloudresourcemanager: Added
org_idfield togoogle_organizationdatasource to expose the raw organization id (#1485) - cloudrun: Stopped requiring the root
metadatablock forgoogle_cloud_run_service. (#1478) - compute: added support for
exprtogoogle_compute_security_policy.rule.match(#1465) - compute: added support for
path_rulestogoogle_compute_region_url_map(#1489) - compute: added support for
path_rulestogoogle_compute_url_map(#1483) - compute: added support for
route_rulestogoogle_compute_region_url_map(#1493) - compute: added support for header actions and route rules to
google_compute_url_map(#1435) - dns: Added
visibilityfield togoogle_dns_managed_zonedata source (#1462) - sourcerepo: added support for
pubsub_configstogoogle_sourcerepo_repository(#1455)
BUG FIXES:
- dns: fixed 503s caused by high numbers of
dns_record_sets. (#1477) - logging: updated
exponential_buckets.growth_factorfrom integer to double. (#1484) - storage: fixed bug where users without storage.objects.list permissions couldn't delete empty buckets (#1443)
BREAKING CHANGES:
- compute: field
peer_ip_addressingoogle_compute_router_peeris now required, to match the API behavior. (#1396)
FEATURES:
- New Resource:
google_billing_budget(#1428) - New Resource:
google_cloud_tasks_queue(#1369) - New Resource:
google_organization_iam_audit_config(#1427)
IMPROVEMENTS:
- accesscontextmanager: added support for
require_admin_approvalandrequire_corp_ownedingoogle_access_context_manager_access_level'sdevice_policy. (#1403) - all: added retries for timeouts while fetching operations (#1356)
- cloudbuild: Added build timeout to
google_cloudbuild_trigger(#1404) - cloudresourcemanager: added support for importing
google_folderin the form of the bare folder id, rather than requiringfolders/{bare_id}(#1430) - compute: Updated default timeouts on
google_compute_project_metadata_item. (#1436) - compute:
google_compute_diskdisk_encryption_key.raw_keyis now sensitive (#1445) - compute:
google_compute_disksource_image_encryption_key.raw_keyis now sensitive (#1452) - compute:
google_compute_network_peeringresource can now be imported (#1439) - compute: computed attribute
management_typeingoogle_compute_router_peeris now available. (#1396) - compute: field
networkcan now be specified ongoogle_compute_region_backend_service, which allows internal load balancers to target the non-primary interface of an instance. (#1418) - container: Added support for
peering_nameingoogle_container_cluster.private_cluster_config. (#1438) - container: added
auto_provisioning_defaultstogoogle_container_cluster.cluster_autoscaling(#1434) - container: added
upgrade_settingssupport togoogle_container_node_pool(#1400) - container: increased timeouts on
google_container_clusterandgoogle_container_node_pool(#1386) - datafusion: Added
private_instanceandnetwork_configfields togoogle_data_fusion_instance(#1411) - kms: enabled use of
user_project_overridefor thekms_crypto_keyresource (#1422) - kms: enabled use of
user_project_overridefor thekms_secret_ciphertextdata source (#1433) - sql: added
root_passwordfield togoogle_sql_database_instanceresource (#1432)
BUG FIXES:
- bigquery: fixed an issue where bigquery table id formats from the
2.Xseries caused an error at plan time (#1448) - cloudbuild: Fixed incorrect dependency between
trigger_templateandgithubingoogle_cloud_build_trigger. (#1410) - cloudfunctions: Fixed inability to set
google_cloud_functions_functionupdate timeout. (#1447) - cloudrun: Wait for the cloudrun resource to reach a ready state before returning success. (#1409)
- compute:
google_compute_diskdisk_encryption_key.raw_keyis now sensitive (#1453) - compute:
self_linkin several datasources will now error on invalid values instead of crashing (#1373) - compute: field
advertised_ip_rangesingoogle_compute_router_peercan now be updated without recreating the resource. (#1396) - compute: marked
min_cpu_platformongoogle_compute_instanceas computed so if it is not specified it will not cause diffs (#1429) - dataproc: Changed default for
google_dataproc_autoscaling_policysecondary_worker_config.min_instancesfrom 2 to 0. (#1408) - dns: Fixed issue causing
google_dns_record_setdeletion to fail when the managed zone ceased to exist before the deletion event. (#1446) - iam: disallowed
deleted:principals in IAM resources (#1417) - sql: added retries to
google_sql_usercreate and update to reduce flakiness (#1399)
NOTES:
These are the changes between 3.0.0-beta.1 and the 3.0.0 final release. For changes since 2.20.0, see also the 3.0.0-beta.1 changelog entry below.
Please see the 3.0.0 upgrade guide for upgrade guidance.
BREAKING CHANGES:
- cloudrun: updated
cloud_run_serviceto v1. Significant updates have been made to the resource including a breaking schema change. (#1426)
BUG FIXES:
- compute: fixed a bug in
google_compute_instance_group_managerandgoogle_compute_region_instance_group_managerthat created an artificial diff when removing a now-removed field from a config (#1401) - dns: Fixed bug causing
google_dns_managed_zonedatasource to always return a 404 (#1405) - service_networking: fixed "An unknown error occurred" bug when creating multiple google_service_networking_connection resources in parallel (#1246)
BREAKING CHANGES:
- access_context_manager: Made
os_typerequired on blockgoogle_access_context_manager_access_level.basic.conditions.device_policy.os_constraints. MM#2665 - all: changed any id values that could not be interpolated as self_links into values that could MM#2461
- app_engine: Made
ssl_management_typerequired ongoogle_app_engine_domain_mapping.ssl_settingsMM#2608 - app_engine: Made
shellrequired ongoogle_app_engine_standard_app_version.entrypoint. MM#2608 - app_engine: Made
source_urlrequired ongoogle_app_engine_standard_app_version.deployment.filesandgoogle_app_engine_standard_app_version.deployment.zip. MM#2608 - app_engine: Made
split_health_checksrequired ongoogle_app_engine_application.feature_settingsMM#2608 - app_engine: Made
script_pathrequired ongoogle_app_engine_standard_app_version.handlers.script. MM#2665 - bigtable: Made
cluster_idrequired ongoogle_bigtable_app_profile.single_cluster_routing. MM#2608 - bigquery: Made at least one of
rangeorskip_leading_rowsrequired ongoogle_bigquery_table.external_data_configuration.google_sheets_options. MM#2608 - bigquery: Made
rolerequired ongoogle_bigquery_dataset.access. MM#2665 - bigtable: Made exactly one of
single_cluster_routingormulti_cluster_routing_use_anyrequired ongoogle_bigtable_app_profile. MM#2665 - binary_authorization: Made
name_patternrequired ongoogle_binary_authorization_policy.admission_whitelist_patterns. MM#2665 - binary_authorization: Made
evaluation_modeandenforcement_moderequired ongoogle_binary_authorization_policy.cluster_admission_rules. MM#2665 - cloudbuild: made Cloud Build Trigger's trigger template required to match API requirements. MM#2352
- cloudbuild: Made
branchrequired ongoogle_cloudbuild_trigger.github. MM#2608 - cloudbuild: Made
stepsrequired ongoogle_cloudbuild_trigger.build. MM#2608 - cloudbuild: Made
namerequired ongoogle_cloudbuild_trigger.build.steps. MM#2608 - cloudbuild: Made
nameandpathrequired ongoogle_cloudbuild_trigger.build.steps.volumes. MM#2608 - cloudbuild: Made exactly one of
filenameorbuildrequired ongoogle_cloudbuild_trigger. MM#2665 - cloudfunctions: deprecated
nodejs6as option forruntimeinfunctionand made it required. MM#2499 - cloudscheduler: Made exactly one of
pubsub_target,http_targetorapp_engine_http_targetrequired ongoogle_cloudscheduler_job. MM#2665 - cloudiot: removed
event_notification_config(singular) fromgoogle_cloudiot_registry. Use pluralevent_notification_configsinstead. MM#2390 - cloudiot: Made
public_key_certificaterequired ongoogle_cloudiot_registry. credentials. MM#2608 - cloudscheduler: Made
service_account_emailrequired ongoogle_cloudscheduler_job.http_target.oauth_tokenandgoogle_cloudscheduler_job.http_target.oidc_token. MM#2608 - composer: Made at least one of
airflow_config_overrides,pypi_packages,env_variables,image_version, orpython_versionrequired ongoogle_composer_environment.config.software_config`. MM#2608 - composer: Made
use_ip_aliasesrequired ongoogle_composer_environment.config.node_config.ip_allocation_policy. MM#2608 - composer: Made
enable_private_endpointrequired ongoogle_composer_environment.config.private_environment_config. MM#2608 - composer: Made at least one of
enable_private_endpointormaster_ipv4_cidr_blockrequired ongoogle_composer_environment.config.private_environment_configMM#2682 - composer: Made at least one of
node_count,node_config,software_configorprivate_environment_configrequired ongoogle_composer_environment.configMM#2682 - compute:
google_compute_backend_service'sbackendfield field now requires thegroupsubfield to be set. MM#2373 - compute: permanently removed
ip_versionfield fromgoogle_compute_forwarding_ruleMM#2436 - compute: permanently removed
ipv4_rangefield fromgoogle_compute_network. MM#2436 - compute: permanently removed
auto_create_routesfield fromgoogle_compute_network_peering. MM#2436 - compute: added check to only allow
google_compute_instance_templates with 375gb scratch disks MM#2495 - compute: made
google_compute_instance_templatefail at plan time when scratch disks do not havedisk_type"local-ssd". MM#2282 - compute: removed
enable_flow_logsfield fromgoogle_compute_subnetwork. This is now controlled by the presence of thelog_configblock MM#2597 - compute: Made
raw_keyrequired ongoogle_compute_snapshot.snapshot_encryption_key. MM#2608 - compute: Made at least one of
auto_delete,device_name,disk_encryption_key_raw,kms_key_self_link,initialize_params,modeorsourcerequired ongoogle_compute_instance.boot_disk. MM#2608 - compute: Made at least one of
size,type,image, orlabelsrequired ongoogle_compute_instance.boot_disk.initialize_params. MM#2608 - compute: Made at least one of
enable_secure_boot,enable_vtpm, orenable_integrity_monitoringrequired ongoogle_compute_instance.shielded_instance_config. MM#2608 - compute: Made at least one of
on_host_maintenance,automatic_restart,preemptible, ornode_affinitiesrequired ongoogle_compute_instance.scheduling. MM#2608 - compute: Made
interfacerequired ongoogle_compute_instance.scratch_disk. MM#2608 - compute: Made at least one of
enable_secure_boot,enable_vtpm, orenable_integrity_monitoringrequired ongoogle_compute_instance_template.shielded_instance_config. MM#2608 - compute: Made at least one of
on_host_maintenance,automatic_restart,preemptible, ornode_affinitiesare now required ongoogle_compute_instance_template.scheduling. MM#2608 - compute: Made
kms_key_self_linkrequired ongoogle_compute_instance_template.disk.disk_encryption_key. MM#2608 - compute: Made
rangerequired ongoogle_compute_router_peer. advertised_ip_ranges. MM#2608 - compute: Removed
instance_templateforgoogle_compute_instance_group_managerandgoogle_compute_region_instance_group_manager. Useversion.instance_templateinstead. MM#2595 - compute: removed
update_strategyforgoogle_compute_instance_group_manager. Useupdate_policyinstead. MM#2595 - compute: stopped allowing selfLink or path style references as IP addresses for
google_compute_forwarding_ruleorgoogle_compute_global_forwarding_ruleMM#2620 - compute: permanently removed
update_strategyfield fromgoogle_compute_region_instance_group_manager. MM#2436 - compute: Made exactly one of
http_health_check,https_health_check,http2_health_check,tcp_health_checkorssl_health_checkrequired ongoogle_compute_health_check. MM#2665 - compute: Made exactly one of
http_health_check,https_health_check,http2_health_check,tcp_health_checkorssl_health_checkrequired ongoogle_compute_region_health_check. MM#2665 - container: permanently removed
zoneandregionfields from data sourcegoogle_container_engine_versions. MM#2436 - container: permanently removed
zone,regionandadditional_zonesfields fromgoogle_container_cluster. MM#2436 - container: permanently removed
zoneandregionfields fromgoogle_container_node_pool. MM#2436 - container: set
google_container_cluster'slogging_serviceandmonitoring_servicedefaults to enable GKE Stackdriver Monitoring. MM#2471 - container: removed
kubernetes_dashboardfromgoogle_container_cluster.addons_configMM#2551 - container: removed automatic suppression of GPU taints in GKE
taintMM#2537 - container: Made
disabledrequired ongoogle_container_cluster.addons_config.http_load_balancing,google_container_cluster.addons_config.horizontal_pod_autoscaling,google_container_cluster.addons_config.network_policy_config,google_container_cluster.addons_config.cloudrun_config, andgoogle_container_cluster.addons_config.istio_config. MM#2608 - container: Made at least one of
http_load_balancing,horizontal_pod_autoscaling,network_policy_config,cloudrun_config, oristio_configrequired ongoogle_container_cluster.addons_config. MM#2608 - container: Made
enabledrequired ongoogle_container_cluster.network_policy. MM#2608 - container: Made
enable_private_endpointrequired ongoogle_container_cluster.private_cluster_config. MM#2608 - container: Made
enabledrequired ongoogle_container_cluster.vertical_pod_autoscaling. MM#2608 - container: Made
cidr_blocksrequired ongoogle_container_cluster.master_authorized_networks_config. MM#2608 - container: Made at least one of
username,passwordorclient_certificate_configrequired ongoogle_container_cluster.master_auth. MM#2608 - container: Made exactly one of
daily_maintenance_windoworrecurring_windowrequired ongoogle_container_cluster.maintenance_policyMM#2682 - container: removed
google_container_clusterip_allocation_policy.use_ip_aliases. If it's set to true, remove it from your config. If false, removeip_allocation_policyas a whole. MM#2615 - container: removed
google_container_clusterip_allocation_policy.create_subnetwork,ip_allocation_policy.subnetwork_name,ip_allocation_policy.node_ipv4_cidr_block. Define an explicitgoogle_compute_subnetworkand usesubnetworkinstead. MM#2615 - container: Made
channelrequired ongoogle_container_cluster.release_channel. MM#2608 - dataproc: Made at least one of
staging_bucket,gce_cluster_config,master_config,worker_config,preemptible_worker_config,software_config,initialization_actionorencryption_configrequired ongoogle_dataproc_cluster.cluster_config. MM#2608 - dataproc: Made at least one of
zone,network,subnetwork,tags,service_account,service_account_scopes,internal_ip_onlyormetadatarequired ongoogle_dataproc_cluster.cluster_config.gce_cluster_config. MM#2608 - dataproc: Made at least one of
num_instances,image_uri,machine_type,min_cpu_platform,disk_config, oracceleratorsrequired ongoogle_dataproc_cluster.cluster_config.master_configandgoogle_dataproc_cluster.cluster_config.worker_config. MM#2608 - dataproc: Made at least one of
num_local_ssds,boot_disk_size_gborboot_disk_typerequired ongoogle_dataproc_cluster.cluster_config.preemptible_worker_config.disk_config,google_dataproc_cluster.cluster_config.master_config.disk_configandgoogle_dataproc_cluster.cluster_config.worker_config.disk_config. MM#2608 - dataproc: Made at least one of
num_instancesordisk_configrequired ongoogle_dataproc_cluster.cluster_config.preemptible_worker_config. MM#2608 - dataproc: Made at least one of
image_version,override_propertiesoroptional_componentsis now required ongoogle_dataproc_cluster.cluster_config.software_config. MM#2608 - dataproc: Made
policy_urirequired ongoogle_dataproc_cluster.cluster_config.autoscaling_config. MM#2608 - dataproc: Made
max_failures_per_hourrequired ongoogle_dataproc_job.scheduling. MM#2608 - dataproc: Made
driver_log_levelsrequired ongoogle_dataproc_job.pyspark_config.logging_config,google_dataproc_job.spark_config.logging_config,google_dataproc_job.hadoop_config.logging_config,google_dataproc_job.hive_config.logging_config,google_dataproc_job.pig_config.logging_config,google_dataproc_job.sparksql_config.logging_config. MM#2608 - dataproc: Made at least one of
main_classormain_jar_file_urirequired ongoogle_dataproc_job.spark_configandgoogle_dataproc_job.hadoop_config. MM#2608 - dataproc: Made at least one of
query_file_uriorquery_listrequired ongoogle_dataproc_job.hive_config,google_dataproc_job.pig_config, andgoogle_dataproc_job.sparksql_config. MM#2608 - dns: Made
networksrequired ongoogle_dns_managed_zone.private_visibility_config. MM#2608 - dns: Made
network_urlrequired ongoogle_dns_managed_zone.private_visibility_config.networks. MM#2608 - iam: made
iam_audit_configresources overwrite existing audit config on create. Previous implementations merged config with existing audit configs on create. MM#2438 - iam: Made exactly one of
list_policy,boolean_policy, orrestore_policyrequired ongoogle_organization_policy. MM#2608 - iam: Made exactly one of
allorvaluesrequired ongoogle_organization_policy.list_policy.allowandgoogle_organization_policy.list_policy.deny. MM#2608 - iam:
google_project_iam_policycan handle theprojectfield in either of the following forms:project-idorprojects/project-idMM#2700 - iam: Made exactly one of
allowordenyrequired ongoogle_organization_policy.list_policyMM#2682 - iam: removed the deprecated
pgp_key,private_key_encryptedandprivate_key_fingerprintfromgoogle_service_account_keyMM#2680 - monitoring: permanently removed
is_internalandinternal_checkersfields fromgoogle_monitoring_uptime_check_config. MM#2436 - monitoring: permanently removed
labelsfield fromgoogle_monitoring_alert_policy. MM#2436 - monitoring: Made
contentrequired ongoogle_monitoring_uptime_check_config.content_matchers. MM#2608 - monitoring: Made exactly one of
http_checkortcp_checkis now required ongoogle_monitoring_uptime_check_config. MM#2665 - monitoring: Made at least one of
auth_info,port,headers,path,use_ssl, ormask_headersis now required ongoogle_monitoring_uptime_check_config.http_checkMM#2665 - provider: added the
https://www.googleapis.com/auth/userinfo.emailscope to the provider by default MM#2473 - pubsub: removed ability to set a full path for
google_pubsub_subscription.name(e.g.projects/my-project/subscriptions/my-subscription).namenow must be the shortname (e.g.my-subscription) MM#2561 - resourcemanager: converted
google_folder_organization_policyandgoogle_organization_policyimport format to use slashes instead of colons. MM#2638 - serviceusage: removed
google_project_servicesMM#2403 - serviceusage: stopped accepting
bigquery-json.googleapis.comingoogle_project_service. Specifybiquery.googleapis.cominstead. MM#2626 - sql: Made
nameandvaluerequired ongoogle_sql_database_instance.settings.database_flags. MM#2608 - sql: Made at least one of
binary_log_enabled,enabled,start_time, andlocationrequired ongoogle_sql_database_instance.settings.backup_configuration. MM#2608 - sql: Made at least one of
authorized_networks,ipv4_enabled,require_ssl, andprivate_networkrequired ongoogle_sql_database_instance.settings.ip_configuration. MM#2608 - sql: Made at least one of
day,hour, andupdate_trackrequired ongoogle_sql_database_instance.settings.maintenance_window. MM#2608 - sql: Made at least one of
cert,common_name,create_time,expiration_time, orsha1_fingerprintrequired ongoogle_sql_database_instance.settings.server_ca_cert. MM#2608 - sql: Made at least one of
ca_certificate,client_certificate,client_key,connect_retry_interval,dump_file_path,failover_target,master_heartbeat_period,password,ssl_cipher,username, andverify_server_certificaterequired ongoogle_sql_database_instance.settings.replica_configuration. MM#2608 - sql: Made
valuerequired ongoogle_sql_database_instance.settings.ip_configuration.authorized_networks. MM#2608 - storage: permanently removed
is_liveflag fromgoogle_storage_bucket. MM#2436 - storage: Made at least one of
main_page_suffixornot_found_pagerequired ongoogle_storage_bucket.website. MM#2608 - storage: Made at least one of
min_time_elapsed_since_last_modification,max_time_elapsed_since_last_modification,include_prefixes, orexclude_prefixesrequired ongoogle_storage_transfer_job.transfer_spec.object_conditions. MM#2608 - storage: Made at least one of
overwrite_objects_already_existing_in_sink,delete_objects_unique_in_sink, anddelete_objects_from_source_after_transferrequired ongoogle_storage_transfer_job.transfer_spec.transfer_options. MM#2608 - storage: Made at least one of
gcs_data_source,aws_s3_data_source, orhttp_data_sourcerequired ongoogle_storage_transfer_job.transfer_options. MM#2608
NOTES:
2.20.3is a backport release, and some changes will not appear in3.Xseries releases until3.12.0. To upgrade to3.Xyou will need to perform a large jump in versions, and it is strongly advised that you attempt to upgrade to3.Xinstead of using this release.2.20.3is primarily a preventative fix, in anticipation of a change in API response messages adding a default value.
BUG FIXES:
- compute: fixed error when reading
google_compute_instance_templateresources withnetwork_interface[*].nameset. (#1815)
BUG FIXES:
- bigtable: fixed diff for DEVELOPMENT instances that are returned from the API with one node (#1704)
BUG FIXES:
- iam: Fixed a bug that causes badRequest errors on IAM resources due to deleted serviceAccount principals (#1501)
BUG FIXES:
- bigtable: fixed diff for DEVELOPMENT instances that are returned from the API with one node (#1704)
Note: 2.20.1 is a backport release. The changes in it are unavailable in 3.0.0-beta.1 through 3.2.0.
BUG FIXES:
- iam: Fixed a bug that causes badRequest errors on IAM resources due to deleted serviceAccount principals (#1501)
BREAKING CHANGES:
google_compute_instance_iam_*resources now support IAM Conditions. If any conditions had been created out of band before this release, take extra care to ensure they are present in your Terraform config so the provider doesn't try to create new bindings with no conditions. Terraform will show a diff that it is adding the condition to the resource, which is safe to apply. (#1360)google_iap_app_engine_version_iam_*resources now support IAM Conditions. If any conditions had been created out of band before this release, take extra care to ensure they are present in your Terraform config so the provider doesn't try to create new bindings with no conditions. Terraform will show a diff that it is adding the condition to the resource, which is safe to apply. (#1352)google_iap_web_backend_service_iam_*resources now support IAM Conditions. If any conditions had been created out of band before this release, take extra care to ensure they are present in your Terraform config so the provider doesn't try to create new bindings with no conditions. Terraform will show a diff that it is adding the condition to the resource, which is safe to apply. (#1352)google_project_iam_*resources now support IAM Conditions. If any conditions had been created out of band before this release, take extra care to ensure they are present in your Terraform config so the provider doesn't try to create new bindings with no conditions. Terraform will show a diff that it is adding the condition to the resource, which is safe to apply. (#1321)- compute: the
backend.groupfield is now required forgoogle_compute_region_backend_service. Configurations without this would not have worked, so this isn't considered an API break. (#1311)
FEATURES:
- New Resource:
google_data_fusion_instance(#1339)
IMPROVEMENTS:
- bigtable: added import support to
google_bigtable_table(#1350) - compute:
load_balancing_schemeforgoogle_compute_forwarding_rulenow acceptsINTERNAL_MANAGEDas a value. (#1311) - compute: added support for L7 ILB to google_compute_region_backend_service. (#1311)
- compute: extended backend configuration options for
google_compute_region_backend_serviceto includebackend.balancing_mode,backend.capacity_scaler,backend.max_connections,backend.max_connections_per_endpoint,backend.max_connections_per_instance,backend.max_rate,backend.max_rate_per_endpoint,backend.max_rate_per_instance, andbackend.max_utilization(#1311) - iam: changed the
idfor many IAM resources to the reference resource long name. Updatedinstance_nameongoogle_compute_instance_iamandsubnetworkongoogle_compute_subnetworkto their respective long names in state (#1360) - iap: added support for IAM Conditions to the
google_compute_instance_iam_*resources (#1360) - iap: added support for IAM Conditions to the
google_iap_app_engine_version_iam_*resources (#1352) - iap: added support for IAM Conditions to the
google_iap_web_backend_service_iam_*resources (#1352) - logging: added
display_namefield togoogle_logging_metricresource (#1344) - monitoring: Added
validate_ssltogoogle_monitoring_uptime_check_config(#1243) - project: added batching functionality to
google_project_serviceread calls, so fewer API requests are made (#1354) - resourcemanager: added support for IAM Conditions to the
google_project_iam_*resources (#1321) - storage: added notification_id field to
google_storage_notification(#1368)
BUG FIXES:
- compute: fixed issue where setting a 0 for
min_replicasingoogle_compute_autoscalerandgoogle_compute_region_autoscalerwould set that field to its server-side default instead of 0. (#1351) - dns: fixed crash when
networkblocks are defined withoutnetwork_urls (#1345) - google: used the correct update method for google_service_account.description (#1362)
- logging: fixed issue where logging exclusion resources silently failed when being mutated in parallel (#1329)
DEPRECATIONS:
compute: deprecatedenable_flow_logsongoogle_compute_subnetwork. The presence of thelog_configblock signals that flow logs are enabled for a subnetwork (#1320)compute: deprecatedinstance_templateforgoogle_compute_instance_group_managerandgoogle_compute_region_instance_group_manager. Useversion.instance_templateinstead. (#1309)compute: deprecatedupdate_strategyforgoogle_compute_instance_group_manager. Useupdate_policyinstead. (#1309)container: deprecatedgoogle_container_clusterip_allocation_policy.create_subnetwork,ip_allocation_policy.subnetwork_name,ip_allocation_policy.node_ipv4_cidr_block. Define an explicitgoogle_compute_subnetworkand usesubnetworkinstead. (#1312)container: deprecatedgoogle_container_clusterip_allocation_policy.use_ip_aliases. If it's set to true, remove it from your config. If false, removeip_allocation_policyas a whole. (#1312)iam: Deprecatedpgp_keyongoogle_service_account_keyresource. See https://www.terraform.io/docs/extend/best-practices/sensitive-state.html for more information. (#1326)
BREAKING CHANGES:
google_service_account_iam_*resources now support IAM Conditions. If any conditions had been created out of band before this release, take extra care to ensure they are present in your Terraform config so the provider doesn't try to create new bindings with no conditions. Terraform will show a diff that it is adding the condition to the resource, which is safe to apply. (#1188)
FEATURES:
compute: addedgoogle_compute_routerdatasource (#1233)
IMPROVEMENTS:
cloudbuild: added ability to specifynameforcloud_build_triggerto avoid name collisions when creating multiple triggers at once. (#1277)compute: added support for multiple versions ofinstance_templateand granular control of the update policies forgoogle_compute_instance_group_managerandgoogle_compute_region_instance_group_manager. (#1309)container: addedtaintfield in GKE resources to the GAgoogleprovider (#1296)container: fix a diff created in the cloud console whenMaintenanceExclusionsare added. (#1310)container: addedmaintenance_policy.recurring_windowsupport togoogle_container_cluster, significantly increasing expressive range. (#1292)compute: addedgoogle_compute_instancesupport for display device (Virtual Displays) (#1313)iam: added support for IAM Conditions to thegoogle_service_account_iam_*resources (beta provider only) (#1188)iam: addeddescriptiontogoogle_service_account. (#1291)
BUG FIXES:
appengine: Resolved permadiff ingoogle_app_engine_domain_mapping.ssl_settings.certificate_id. (#1303)storage: Fixed error ingoogle_storage_bucketwhere locked retention policies would cause a bucket to report failure on all updates (even though updates were applied correctly). (#1307)container: Fixed nil reference to ShieldedNodes. (#1314)
BUGS:
resourcemanager: fixed deleting the default network ingoogle_project(#1299)
KNOWN ISSUES:
resourcemanager:google_projectauto_create_networkis failing to delete networks when set tofalse. Use an earlier provider version to resolve.
DEPRECATIONS:
container: Thekubernetes_dashboardaddon is deprecated forgoogle_container_cluster. (#1247)
FEATURES:
- New Resource:
google_app_engine_application_url_dispatch_rules(#1262)
IMPROVEMENTS:
all: increased support for custom endpoints across the provider (#1244)appengine: added the ability to delete the parent service ofgoogle_app_engine_standard_app_version(#1222)container: Addedshielded_instance_configattribute tonode_config(#1198)container: Allow the configuration of release channels when creating GKE clusters. (#1260)dataflow: addedip_configurationoption tojob. (#1284)pubsub: Added fieldoidc_tokentogoogle_pubsub_subscription(#1265)sql: addedlocationfield tobackup_configurationblock ingoogle_sql_database_instance(#1282)
BUGS:
all: fixed the custom endpoint version used by older legacy REST clients (#1274)bigquery: fix issue withgoogle_bigquery_data_transfer_configparamscrashing on boolean values (#1263)cloudrun: fixed the apiVersion sent ingoogle_cloud_run_domain_mappingrequests (#1251)compute: added support for updating multiple fields at once togoogle_compute_subnetwork(#1269)compute: fixed diffs ingoogle_compute_instance_group'snetworkfield when equivalent values were specified (#1286)compute: fixed issues updatinggoogle_compute_instance_group'sinstancesfield when config/state values didn't match (#1286)iam: fixed bug where IAM binding wouldn't replace members if they were deleted outside of terraform. (#1272)pubsub: Fixed permadiff due to interaction of organization policies andgoogle_pubsub_topic. (#1281)
NOTES:
- An upgrade guide has been started for the upcoming 3.0.0 release. (#1220)
google_project_servicesusers of provider versions prior to2.17.0should update, as past versions of the provider will not handle an upcoming rename ofbigquery-json.googleapis.comtobigquery.googleapis.comwell. See https://github.com/terraform-providers/terraform-provider-google/issues/4590 for details. (#1234)
DEPRECATIONS:
google_project_services(#1218)
FEATURES:
- New Resource:
google_bigtable_gc_policy(#1213) - New Resource:
google_binary_authorization_attestor_iam_policy(#1166) - New Resource:
google_compute_region_ssl_certificate(#1183) - New Resource:
google_compute_region_target_http_proxy(#1183) - New Resource:
google_compute_region_target_https_proxy(#1183) - New Resource:
google_iap_app_engine_service_iam_*(#1205) - New Resource:
google_iap_app_engine_version_iam_*(#1205) - New Resource:
google_storage_bucket_access_control(#1177)
IMPROVEMENTS:
- all: made
monitoring-readscope available. (#1208) - bigquery: added support for default customer-managed encryption keys (CMEK) for BigQuery datasets. (#1081)
- bigtable: import support added to
google_bigtable_instance(#1224) - cloudbuild: added
githubfield ingoogle_cloudbuild_trigger. (#1229) - container: moved
default_max_pods_per_nodeto ga. (#1235) - containeranalysis: moved
google_containeranalysis_noteto ga (#1166) - projectservice: added mitigations for bigquery-json to bigquery rename in project service resources. (#1234)
BUGS:
- cloudscheduler: Fixed permadiff for
app_engine_http_target.app_engine_routingongoogle_cloud_scheduler_job(#1131) - compute: Added ability to set
quic_overrideongoogle_compute_https_target_proxyto empty. (#1219) - compute: Fix bug where changes to
region_backend_service.backends.failoverwas not detected. (#1236) - compute: fixed
google_compute_router_peerto default if empty foradvertise_mode(#1163) - compute: fixed perma-diff in
google_compute_router_natwhen referencing subnetwork vianame(#1194) - compute: fixed perma-diff in
google_compute_router_natwhen referencing subnetwork vianame(#1194) - container: fixed an overly-aggressive validation for
master_ipv4_cidr_blockingoogle_container_cluster(#1211)
KNOWN ISSUES:
- Based on an upstream change, users of the
google_project_servicesresource may have seen thebigquery.googleapis.comservice added and thebigquery-json.googleapis.comservice removed, causing a diff. This was later reverted, causing another diff. This issue is being tracked as https://github.com/terraform-providers/terraform-provider-google/issues/4590.
FEATURES:
- New Resource:
google_compute_region_url_mapis now available. To support this, theprotocolforgoogle_compute_region_backend_servicecan now be set toHTTP,HTTPS,HTTP2, andSSL. (#1161) - New Resource: Adds
google_runtimeconfig_config_iam_*resources (#1138) - New Resource: Added
google_compute_resource_policyandgoogle_compute_disk_resource_policy_attachmentto managegoogle_compute_diskresource policies as fine-grained resources (#1085)
ENHANCEMENTS:
- composer: Add
python_versionand ability to setimage_versioningoogle_composer_environmentin the GA provider (#1143) - compute:
google_compute_global_forwarding_rulenow supportsmetadata_filters. (#1160) - compute:
google_compute_backend_servicenow supportslocality_lb_policy,outlier_detection,consistent_hash, andcircuit_breakers. (#1118) - compute: Add support for
guest_os_featuresto resourcegoogle_compute_image(#1156) - compute: Added
drain_nat_ipstogoogle_compute_router_nat(#1155) - container: google_container_node_pool now supports node_locations to specify specific node zones. (#1154)
- googleapis:
google_netblock_ip_rangesdata source now has aprivate-googleapisfield, for the IP addresses used for Private Google Access for services that do not support VPC Service Controls API access. (#1102) - project:
google_project_iam_*Properly set theprojectfield in state (#1158)
BUG FIXES:
- cloudiot: Fixed error where
subfolder_matcheswere not set ingoogle_cloudiot_registryevent_notification_configs(#1175)
FEATURES:
- New Resource:
google_iap_web_iam_binding/_member/_policyare now available for managing IAP web IAM permissions (#1044) - New Resource:
google_iap_web_backend_service_binding/_member/_policyare now available for managing IAM permissions on IAP enabled backend services (#1044) - New Resource:
google_iap_web_type_compute_iam_binding/_member/_policyare now available for managing IAM permissions on IAP enabled compute services (#1044) - New Resource:
google_iap_web_type_app_engine_iam_binding/_member/_policyare now available for managing IAM permissions on IAP enabled App Engine applications (#1044) - New Resource: Add the new resource
google_app_engine_domain_mapping(#1079) - New Resource:
google_cloudfunctions_function_iam_policy,google_cloudfunctions_function_iam_binding, andgoogle_cloudfunctions_function_iam_member(#1121) - New Resource:
google_compute_reservationallows you to reserve instance capacity in GCE. (#1086) - New Resource:
google_compute_region_health_checkis now available. This andgoogle_compute_health_checknow include additional support for HTTP2 health checks. (#1058)
ENHANCEMENTS:
- compute: Added full routing options to
google_compute_router_peer(#1104) - compute: add
tunnel_idtogoogle_compute_vpn_tunnelandgateway_idtogoogle_compute_vpn_gateway(#1106) - compute:
google_compute_subnetworknow includes thepurposeandrolefields. (#1051) - compute: add
purposefield togoogle_compute_address(#1115) - compute: add
modeoption togoogle_compute_instance.boot_disk(#1119) - compute:
google_compute_firewalldoes not show a diff if allowed or denied rules are specified with uppercase protocol values (#1144) - compute: Add support for the
log_configblock tocompute_backend_service(Beta only) (#1137) - logging: added
metric_descriptor.unittogoogle_logging_metricresource (#1117)
BUG FIXES:
- all: More classes of generic HTTP errors are retried provider-wide. (#1120)
- container: Fix error when
master_authorized_networks_configis removed from thegoogle_container_clusterconfiguration. (#1133) - iam: Make
google_service_account_andgoogle_service_account_iam_*validation less restrictive to allow for more default service accounts (#1109) - iam: set auditconfigs in state for google_*_iam_policy resources (#1134)
- logging:
google_logging_metricexplicitbucket option can now be set (#1096) - pubsub: Add retry for Pubsub Topic creation when project is still initializing org policies (#1094)
- servicenetworking: remove need for provider-level project to delete connection (#1132)
- sql: Add more retries for operationInProgress 409 errors for
google_sql_database_instance(#1108)
MISC:
- The User-Agent header that Terraform sends has been updated to correctly report the version of Terraform being run, and has minorly changed the formatting on the Terraform string. (#1107)
DEPRECATIONS:
- cloudiot:
resource_cloudiot_registry'sevent_notification_configfield has been deprecated. (#1064)
FEATURES:
- New Resource:
google_bigtable_app_profileis now available (#988) - New Resource:
google_ml_engine_model(#957) - New Resource:
google_dataproc_autoscaling_policy(#1078) - New Data Source:
google_kms_secret_ciphertext(#1011)
ENHANCEMENTS:
- bigquery: Add support for clustering/partitioning to bigquery_table (#1025)
- bigtable:
num_nodescan now be updated ingoogle_bigtable_instance(#1067) - cloudiot:
resource_cloudiot_registrynow has fields pluralevent_notification_configsandlog_level, andevent_notification_confighas been deprecated. (#1064) - cloud_run: New output-only fields have been added to google_cloud_run_service' status. (#1071)
- compute: Adding bandwidth attribute to interconnect attachment. (#1016)
- compute:
google_compute_region_instance_group_manager.update_policynow supportsinstance_redistribution_type(#1073) - compute: adds admin_enabled to google_compute_interconnect_attachment (#1072)
- compute: The compute routes includes next_hop_ilb attribute support in beta. (#1076)
- scheduler: Add support for
oauth_tokenandoidc_tokenon resourcegoogle_cloud_scheduler_job(#1024)
BUG FIXES:
- containerregistry: Correctly handle domain-scoped projects (#1035)
- iam: Fixed regression in 2.13.0 for permadiff on empty members in IAM policy bindings. (#1092)
- project:
google_project_iam_custom_rolenow sets the project properly on import. (#1089) - sql: Added back a missing import format for
google_sql_database. (#1061)
KNOWN ISSUES:
bigtable:google_bigtable_instancemay cause a panic on Terraform0.11. This was resolved in2.17.0.
FEATURES:
- New Resource: added the
google_vpc_access_connectorresource and thevpc_connectoroption on thegoogle_cloudfunctions_functionresource. (#1004) - New Resource: Added
google_scc_sourceresource for managing Cloud Security Command Center sources in Terraform (#1033) - New Data Source:
google_compute_network_endpoint_group(#999)
ENHANCEMENTS:
- bigquery: Added support for
google_bigquery_data_transfer_config(which include scheduled queries). (#975) - bigtable:
google_bigtable_instancemax number ofclusterblocks is now 4 (#995) - binary_authorization: Added
globalPolicyEvaluationModetogoogle_binary_authorization_policy. (#987) - cloudfunctions: Allow partial URIs in google_cloudfunctions_function event_trigger.resource (#1009)
- compute: Enable update for
google_compute_router_nat(#979) - netblock: extended
google_netblock_ip_rangesto support multiple useful IP address ranges that have a special meaning on GCP. (#986) - project: Wrapped API requests with retries for
google_project,google_folder, andgoogle_*_organization_policy(#971) - project: IAM and service requests are now batched (#1014)
- provider: allow provider's region to be specified as a self_link (#1022)
- provider: Adds new provider-level field
user_project_override, which allows billing, quota checks, and service enablement checks to occur against the project a resource is in instead of the project the credentials are from. (#1010) - pubsub: Pub/Sub topic geo restriction support. (#989)
BUG FIXES:
- binary_authorization: don't diff when attestation authority note public keys don't have an ID in the config (#1042)
- compute: instance descriptions will now be stored in state (#990)
- container:
key_nameingoogle_container_cluster.database_encryptionis no longer a required field. (#1032) - project: ignore errors when deleting a default network that doesn't exist (#991)
FEATURES:
- New Data Source:
google_kms_crypto_key_version- Provides access to KMS key version data with Google Cloud KMS. (#964) - New Resource:
google_cloud_run_service- Set up a cloud run service (#757) - New Resource:
google_cloud_run_domain_mapping- Allows custom domains to map to a cloud run service (#757)
ENHANCEMENTS:
- binary_authorization: Add support for Cloud KMS PKIX keys to
binary_authorization_attestor. (#964) - composer: Add private IP config for
google_composer_environment(#908) - compute: add support for port_specification to resource
google_compute_health_check(#933) - compute: Fixed import formats for
google_compute_network_endpointand add location-only import formats (#947) - compute: add support for
resource_policiesto resourcegoogle_compute_disk(#960) - compute: Support labelling for compute_instance boot_disks and compute_instance_template disks. (#982)
- container:
workload_identity_configingoogle_container_clustercan now be updated without recreating the cluster. (#896) - container: validate that master_ipv4_cidr_block is set if enable_private_nodes is true (#948)
- dataflow: added support for user-defined
labelson resourcegoogle_dataflow_job(#970) - dataproc: add support for
optional_componentsto resourceresource_dataproc_cluster(#961) - project: add checks to import to prevent importing by project number instead of id (#954)
- storage: add support for
retention_policyto resourcegoogle_storage_bucket(#949)
BUG FIXES:
- access_context_manager: import format checking (#952)
- dataproc: Suppress diff for
google_dataproc_clustersoftware_config.0.image_versionto prevent permadiff when server uses more specific versions of config value (#969) - organization: Add auditConfigs to update masks for setting org and folder IAM policy (
google_organization_iam_policy,google_folder_iam_policy) (#967) - storage:
google_storage_bucketSet website metadata during read (#925)
NOTES:
- container: We have changed the way container clusters handle cluster state, and they should now wait until the cluster is ready when creating, updating, or refreshing cluster state. This is meant to decrease the frequency of errors where Terraform is operating on a cluster that isn't ready to be operated on. If this change causes a problem, please open an issue with as much information as you can provide, especially debug logs. See terraform-provider-google #3989 for more info.
FEATURES:
- New Resources:
google_bigtable_instance_iam_binding,google_bigtable_instance_iam_member, andgoogle_bigtable_instance_iam_policyare now available. (#923) - New Resources:
google_sourcerepo_repository_iam_*Add support for source repo repository IAM resources (#914)
ENHANCEMENTS:
- bigquery: Added support for
external_data_configurationtogoogle_bigquery_table. (#696) - compute: Avoid getting project if no diff found for google_compute_instance_template (#932)
- firestore:
google_firestore_indexquery_scopecan haveCOLLECTION_GROUPspecified. (#919)
BUG FIXES:
- compute: Mark instance KMS self link field kms_key_self_link as computed (#819)
- compute: Allow security policy to be removed from
google_backend_service(#916) - container:
google_container_clusterdeeper nil checks to prevent crash on empty object (#934) - container:
google_container_clusterkeep clusters in state if they are created in an error state and don't get correctly cleaned up. (#929) - container:
google_container_node_poolCorrectly set nodepool autoscaling in state when disabled in the API (#931) - container:
google_container_clusterwill now wait to act until the cluster can be operated on, respecting timeouts. (#927) - monitoring: Fix diff in
google_monitoring_uptime_check_configon a deprecated field. (#944) - service:
google_service_networking_connectioncorrectly delete the connection when the resource is destroyed. (#935) - spanner: Wait for spanner databases to create before returning. Don't wait for databases to delete before returning anymore. (#922)
- storage: Fixed an issue where
google_storage_transfer_jobschedule_end_datecaused requests to fail if unset. (#936) - storage:
google_storage_object_aclPrevent panic when using interpolated object names. (#917)
DEPRECATIONS:
- monitoring: Deprecated non-existent fields
is_internalandinternal_checkersfromgoogle_monitoring_uptime_check_config. (#888)
FEATURES:
- New Resource:
google_compute_project_default_network_tier(#882) - New Resource
google_healthcare_dataset_iam_binding(#899) - New Resource
google_healthcare_dataset_iam_member(8#99) - New Resource
google_healthcare_dataset_iam_policy(#899) - New Resource
google_healthcare_dicom_store_iam_binding(#899) - New Resource
google_healthcare_dicom_store_iam_member(#899) - New Resource
google_healthcare_dicom_store_iam_policy(#899) - New Resource
google_healthcare_fhir_store_iam_binding(#899) - New Resource
google_healthcare_fhir_store_iam_member(#899) - New Resource
google_healthcare_fhir_store_iam_policy(#899) - New Resource
google_healthcare_hl7_v2_store_iam_binding(#899) - New Resource
google_healthcare_hl7_v2_store_iam_member(#899) - New Resource
google_healthcare_hl7_v2_store_iam_policy(#899)
ENHANCEMENTS:
- compute: Added fields for managing network endpoint group backends in
google_compute_backend_service, includingmax_connections_per_endpointandmax_rate_per_endpoint(#854) - compute: Support custom timeouts in
google_compute_instance_group_managerandgoogle_compute_region_instance_group_manager(#909) - container:
node_config.sandbox_configis supported on GKE node pool definitions, allowing you to configure GKE Sandbox. (#863) - container:
google_container_clusteradd support for GKE resource usage (#825) - folder:
google_folderimprove error message on delete (#878) - iam: sort bindings in
google_*_iam_policyresources to get simpler diffs (#881) - kms:
google_kms_crypto_keynow supports labels. (#885) - pubsub:
google_pubsub_topicsupports KMS keys withkms_key_name. (#894)
BUG FIXES:
- iam: the member field in iam_* resources is now case-insensitive (#876)
- servicenetworking:
google_service_networking_connectionfix update (#871)
BUG FIXES:
- kms: fix regression when reading existing
google_kms_crypto_keyresources (#873) - storage:
google_storage_bucketfix for crash that occurs when running plan on old buckets (#870) - storage:
google_storage_bucketallow updating bucket_policy_only to false (#870)
FEATURES:
- Custom Endpoint Support: The Google provider supports custom endpoints, allowing you to use GCP-like APIs such as emulators. See the Provider Reference for details. (#811)
- New Resource:
google_compute_resource_policyis now available which can be used to schedule disk snapshots. (#1850) - New Resource:
google_compute_external_vpn_gatewayis now available which can be used to connect to external VPN gateways. (#833) - New Resource Network endpoint groups (
google_compute_network_endpoint_group) and fine-grained resource endpoints (google_compute_network_endpoint) are now available. (#781)
ENHANCEMENTS:
- increased default timeouts for
google_compute_instance,google_container_cluster,google_dataproc_cluster, andgoogle_sql_database_instance(#862) - container:
google_container_clusterStop guest_accelerator from having a permadiff for accelerators withcount=0(#851) - container:
google_container_clustersupportsauthenticator_groups_configto allow Google Groups-based authentication. (#669) - container:
google_container_clustersupportsenable_intranode_visibility. (#801) - container:
google_container_clustersupports Workload Identity to access GCP APIs in GKE applications withworkload_identity_config. (#824) - dataproc:
google_dataproc_clustersupportsmin_cpu_platform(#424], [#848) - dns:
google_dns_record_set: allow importing dns record sets in any project (#853) - kms:
kms_crypto_keysupportspurpose(#845) - storage:
google_storage_bucketnow supports enablingbucket_policy_onlyaccess control. (#1878) - storage: IAM resources for storage buckets (
google_storage_bucket_iam_*) now all support import (#835) - pubsub:
google_pubsub_topicUpdates for labels are now supported (#832)
BUG FIXES:
- bigquery:
google_bigquery_datasetRelax IAM role restrictions on BQ datasets (#857) - compute:
google_project_iamWhen importing resourcesprojectno longer needs to be set in the config post import (#805) - compute:
google_sql_userUser's can now be updated to change their password (#810) - compute:
google_compute_instance_templateFixed issue so project can now be specified by interpolated varibles. (#816) - compute:
google_compute_instance_templateThrow error when using incompatible disk fields instead of continual plan diff (#812) - compute:
google_compute_instance_from_templateMake sure disk type is expanded to a URL (#771) - comptue:
google_compute_instance_templateAttempt to put disks in state in the same order they were specified (#771) - container:
google_container_clusterandgoogle_node_poolnow retry correctly when polling for status of an operation. (#818) - container:
google_container_clusteristio_config.authwill no longer permadiff onAUTH_NONEwhen an auth method other than TLS is defined. (#834) - dns:
google_dns_record_setoverrides all existing record types on create, not just NS (#850) - monitoring:
google_monitoring_notification_channelAllow setting enabled to false (#864) - pubsub:
google_pubsub_subscriptionandgoogle_pubsub_topicresources can be created inside VPC service controls. (#827) - redis:
google_redis_instanceFall back to region fromlocation_idwhen region isn't specified (#847)
DEPRECATIONS:
- compute: The
auto_create_routesfield ongoogle_compute_network_peeringhas been deprecated because it is not user configurable. (#3394)
FEATURES:
- New Resource:
google_compute_ha_vpn_gatewayis now available. This is an alternative togoogle_compute_vpn_gatewaythat can be set up to provide higher availability. (#704) - New Datasource:
google_compute_ssl_certificate(#742) - New Datasource:
google_composer_image_versions(#752)
ENHANCEMENTS:
- app_engine: Remove restrictive
app_engine_applicationlocation validation. (#760) - compute:
google_compute_vpn_tunnelsupports HA fieldsvpn_gateway,vpn_gateway_interface,peer_gcp_gateway,peer_external_gateway,vpn_gateway_interface(#704) - compute:
google_container_clusteradd support for vertical pod autoscaling (#749) - compute:
google_compute_router_interfacenow supports specifying aninterconnect_attachment. (#769) - compute:
google_compute_router_natnow supports specifying alog_configblock. (#743) - compute:
google_compute_router_natnow supports more import formats. (#785) - compute:
google_compute_network_peeringnow supports importing/exporting custom routes (#754) - compute:
google_compute_backend_servicenow supports self-managed internal load balancing (#772) - compute:
google_compute_region_backend_servicenow supports failover policies (#789) - compute: Add support for INTERNAL_SELF_MANAGED backend service. Changed Resources:
google_compute_backend_service,google_compute_global_forwarding_rule. (#772) - composer: Make cloud composer environment image version updateable (#741)
- container:
google_container_clusternow supportsvertical_pod_autoscaling(#733) - container: Expose the
services_ipv4_cidrforcontainer_cluster. (#804) - dataflow:
google_dataflow_jobnow supports setting machine type (#1862) - dns:
google_dns_managed_zonenow supports DNSSec (#737) - kms:
google_kms_key_ringis now autogenerated. (#748) - pubsub:
google_pubsub_subscriptionsupports setting anexpiration_policywith nottl. (#783)
BUG FIXES:
- binauth:
google_binary_authorization_policycan be used with attestors in another project. (#778) - compute: allow setting firewall priority to 0 (#755)
- compute: Resolved an issue where
google_compute_region_backend_servicewas unable to perform a state migration. (#775) - compute: allow empty metadata.startup-script on instances (#776)
- compute: Fix flattened custom patchable resources in
google_compute_network. (#782) - compute:
google_compute_vpn_tunnelnow supports sending an empty external gateway interface id. (#759) - container: allow AUTH_NONE in istio addon_config (#664)
- container: allow going from no ip_allocation_policy to a blank-equivalent one (#774)
- container:
google_container_clusterwill no longer diff unnecessarily onissue_client_certificate. (#788) - container:
google_container_clustercan enable client certificates on GKE1.12+series releases. (#788) - container:
google_container_clusternow retries the call to remove default node pools during cluster creation (#799) - storage: Fix occasional crash when updating storage buckets (#706)
NOTE:
- Several resources were previously undocumented on the site or changelog; they should be added to both with this release.
google_compute_backend_bucket_signed_url_keyandgoogle_compute_backend_service_signed_url_keywere introduced in2.4.0.
BACKWARDS INCOMPATIBILITIES:
- cloudfunctions:
google_cloudfunctions_function.runtimenow has an explicit default value ofnodejs6. Users who have a different value set in the API but the value undefined in their config will see a diff. (#697)
FEATURES:
- New Resources:
google_compute_instance_iam_binding,google_compute_instance_iam_member, andgoogle_compute_instance_iam_policyare now available. (#685) - New Resources: IAM resources for Dataproc jobs and clusters (
google_dataproc_job_iam_policy,google_dataproc_job_iam_member,google_dataproc_job_iam_binding,google_dataproc_cluster_iam_policy,google_dataproc_cluster_iam_member,google_dataproc_cluster_iam_binding) are now available. #709 - New Resources:
google_iap_tunnel_instance_iam_binding,google_iap_tunnel_instance_iam_member, andgoogle_iap_tunnel_instance_iam_policyare now available. (#687)
ENHANCEMENTS:
- provider: Add GCP zone to
google_client_configdatasource (#668) - compute: Add support for creating instances with CMEK (#698)
- compute: Can now specify project when importing instance groups.
- compute:
google_compute_instancenow supportsshielded_instance_configfor verifiable integrity of your VM instances. (#711) - compute:
google_compute_backend_servicenow supportsHTTP2protocol (beta API feature) #708 - compute:
google_compute_instance_templatenow supportsshielded_instance_configfor verifiable integrity of your VM instances. (#711) - container: use the cluster subnet to look up the node cidr block (#722)
BUG FIXES:
- cloudfunctions:
google_cloudfunctions_function.runtimenow has an explicit default value ofnodejs6. (#697) - monitoring: updating
google_monitoring_alert_policyis more likely to succeed (#684) - kms:
google_kms_crypto_keynow (in addition to marking all crypto key versions for destruction) correctly disables auto-rotation for destroyed keys (#705) - iam: Increase IAM custom role length validation to match API. (#728)
KNOWN ISSUES:
- cloudfunctions:
google_cloudfunctions_functions without aruntimeset will fail to create due to an upstream API change. You can work around this by setting an explicitruntimein2.Xseries releases.
DEPRECATIONS:
- monitoring:
google_monitoring_alert_policylabelswas deprecated, as the field was never used and it was typed incorrectly. (#635)
FEATURES:
- New Datasource:
google_compute_node_typesfor sole-tenant node types is now available. (#614) - New Resource:
google_compute_node_groupfor sole-tenant nodes is now available. (#643) - New Resource:
google_compute_node_templatefor sole-tenant nodes is now available. (#614) - New Resource:
google_firestore_indexis now available to configure composite indexes on Firestore. (#632) - New Resource:
google_logging_metricis now available to configure Stackdriver logs-based metrics. (#1702) - New Resource:
google_compute_network_endpoint_group(#630) - New Resource:
google_security_scanner_scan_configis now available for configuring scan runs with Cloud Security Scanner. (#641)
ENHANCEMENTS:
- compute:
google_compute_subnetworknow supportslog_configto configure flow logs' logging behaviour. (#619) - container:
google_container_clusternow supportsdatabase_encryptionto configure etcd encryption. (#649) - dataflow:
google_dataflow_job'snetworkandsubnetworkcan be configured. (#631) - monitoring:
google_monitoring_alert_policyuser_labelssupport was added. (#635) - compute:
google_compute_region_backend_serviceis now generated with Magic Modules, adding configurable timeouts, multiple import formats,creation_timestampoutput. (#645) - compute:
iam_compute_subnetworkis now GA. (#656) - pubsub:
google_pubsub_subscriptionnow supports setting anexpiration_policy. (#1703)
BUG FIXES:
- bigquery:
google_bigquery_tablewill work with a larger range of projects id formats. (#658) - cloudfunctions:
google_cloudfunctions_fucntionno longer restricts an outdated list ofregions (#659) - compute:
google_compute_instancenow retries updating metadata when fingerprints are mismatched. (#583) - compute:
google_compute_instanceandgoogle_compute_instance_templatenow support node affinities for scheduling on sole tenant nodes [#663](https://github.com/terraform-providers/terraform-provider-google-beta/pull/663) - compute:
google_compute_managed_ssl_certificatewill no longer diff when using an absolute FQDN. (#591) - compute:
google_compute_diskresources usinggoogle-betawill properly detach users at deletion instead of failing. (#640) - compute:
google_compute_subnetwork.secondary_ip_rangesdoesn't cause a diff on out of band changes, allows updating to empty list of ranges. (#3496) - container:
google_container_clustersetting networks / subnetworks by name works withlocation. (#634) - container:
google_container_clusterremoved an overly restrictive validation restrictingnode_poolandremove_default_node_poolbeing specified at the same time. (#637) - storage:
data_source_google_storage_bucket_objectnow correctly URL encodes the slashes in a file name (#587)
BUG FIXES:
- compute:
google_compute_backend_servicehandles empty/niliapblock created by previous providers properly. (#622) - compute:
google_compute_backend_serviceallows multiple instance types inbackends.groupagain. (#625) - dns:
google_dns_managed_zonedoes not permadiff when visiblity is set to default and returned as empty from API (#624) - google_projects: Datasource
google_projectsnow handles paginated results from listing projects (#626) - google_project_iam:
google_project_iam_policy/member/bindingnow attempts to retry for read-only operations as well as retrying read-write operations(#620) - kms:
google_kms_crypto_key.rotation_periodnow can be an empty string to allow for unset behavior in modules (#627)
KNOWN ISSUES:
- compute:
google_compute_subnetworkwill fail to reordersecondary_ip_rangevalues at apply time - compute:
google_compute_subnetworks used with a VPC-native GKE cluster will have a diff if that cluster creates secondary ranges automatically.
BACKWARDS INCOMPATIBILITIES:
- all: This is the first release to use the 0.12 SDK required for Terraform 0.12 support. Some provider behaviour may have changed as a result of changes made by the new SDK version.
- compute:
google_compute_instance_groupwill not reconcile instances recreated within the sameterraform applydue to underlying0.12SDK changes in the provider. (#616) - compute:
google_compute_subnetworkwill have a diff ifsecondary_ip_rangevalues defined in config don't exactly match real state; if so, they will need to be reconciled. (#3432) - container:
google_container_clusterwill have a diff ifmaster_authorized_networks.cidr_blocksdefined in config doesn't exactly match the real state; if so, it will need to be reconciled. (#603)
BUG FIXES:
- container:
google_container_clustercatch out of band changes tomaster_authorized_networks.cidr_blocks. (#603)
NOTES: This 2.4.1 release is a bugfix release for 2.4.0. It backports the fixes applied in the 2.5.1 release to the 2.4.0 series.
BUG FIXES:
- compute:
google_compute_backend_servicehandles empty/niliapblock created by previous providers properly. (#622) - compute:
google_compute_backend_serviceallows multiple instance types inbackends.groupagain. (#625) - dns:
google_dns_managed_zonedoes not permadiff when visiblity is set to default and returned as empty from API (#624)
KNOWN ISSUES:
- compute:
google_compute_backend_serviceresources created with past provider versions won't work with2.4.0. You can pin your provider version or manually delete them and recreate them until this is resolved. (https://github.com/terraform-providers/terraform-provider-google/issues/3441) - dns:
google_dns_managed_zone.visibilitywill cause a diff if set topublic. Setting it to""(defaulting to public) will work around this. (https://github.com/terraform-providers/terraform-provider-google/issues/3435)
BACKWARDS INCOMPATIBILITIES:
- accesscontextmanager:
google_access_context_manager_service_perimeterunrestricted_servicesfield was removed based on a removal in the underlying API. (#576)
FEATURES:
- New Resource:
google_compute_backend_bucket_signed_url_keyis now available. (#530) - New Resource:
google_compute_backend_service_signed_url_keyis now available. (#577) - New Datasource:
google_service_account_access_tokenis now available. (#575)
ENHANCEMENTS:
- compute:
google_compute_backend_serviceis now generated with Magic Modules, adding configurable timeouts, multiple import formats,creation_timestampoutput. (#569) - compute:
google_compute_backend_servicenow supportsload_balancing_schemeandcdn_policy.signed_url_cache_max_age_sec. (#584) - compute:
google_compute_networknow supportsdelete_default_routes_on_createto delete pre-created routes at network creation time. (#592) - compute:
google_compute_autoscalernow supportsmetric.single_instance_assignment(#580) - dns:
google_dns_policynow supportsenable_logging. (#573) - dns:
google_dns_managed_zonenow supportspeering_configto enable DNS Peering. (#572)
BUG FIXES:
- container:
google_container_clusterwill ignore out of band changes onnode_ipv4_cidr_block. (#558) - container:
google_container_clusterwill now reject config with bothnode_poolandremove_default_node_pooldefined (#600) - container:
google_container_clusterwill allow >20cidr_blocksinmaster_authorized_networks_config. (#594) - netblock:
data.google_netblock_ip_ranges.cidr_blockswill better handle ipv6 input. (#590) - sql:
google_sql_database_instancewill retry reads during Terraform refreshes if it hits a rate limit. (#579)
DEPRECATIONS:
- container:
google_container_clusterzoneandregionfields are deprecated in favour oflocation,additional_zonesin favour ofnode_locations. (#461) - container:
google_container_node_poolzoneandregionfields are deprecated in favour oflocation. (#461) - container:
data.google_container_clusterzoneandregionfields are deprecated in favour oflocation. (#461) - container:
google_container_engine_versionszoneandregionfields are deprecated in favour oflocation. (#461)
FEATURES:
- New Datasource:
google_*_organization_policyAdding datasources for folder and project org policy (#468)
ENHANCEMENTS:
- compute:
google_compute_disk,google_compute_region_disknow supportphysical_block_size_bytes(#526) - compute: `google_compute_vpn_tunnel will properly apply labels. (#541)
- container:
google_container_clusteradds a unifiedlocationfield for regions and zones,node_locationsto manage extra zones for multi-zonal clusters and specific zones for regional clusters. (#461) - container:
google_container_node_pooladds a unifiedlocationfield for regions and zones. (#461) - container:
data.google_container_clusteradds a unifiedlocationfield for regions and zones. (#461) - container:
google_container_engine_versionsadds a unifiedlocationfield for regions and zones. (#461) - dataflow:
google_dataflow_jobhas support for custom service accounts withservice_account_email. (#527) - monitoring:
google_monitoring_uptime_checkwill properly recreate to perform updates. (#485) - resourcemanager:
google_*_organization_policyAdd import support for folder and project organization_policies (#512) - sql:
google_sql_ssl_certAllow project to be specified at resource level (#524) - storage:
google_storage_bucketavoids calls to the compute api during import (#529) - storage:
google_storage_bucket.storage_classsupports updating. (#548) - various: Some import formats that previously failed will now work as documented. (#542)
BUG FIXES:
- compute:
google_compute_diskwill properly detach instances again. (#538) - container:
google_container_cluster,google_container_node_poolproperly suppress new GKE1.12metadatavalues. (#522) - various: Only 409 concurrent operation errors will be retried, and naming conflicts will not. (#544)
KNOWN ISSUES:
- compute:
google_compute_diskis unable to detach instances at deletion time.
FEATURES:
- New Datasource:
data.google_projectsfor retrieving a list of projects based on a filter. (#493) - New Resource:
google_tpu_nodefor Cloud TPU Nodes (#494) - New Resource:
google_dns_policyfor Cloud DNS policies. (#488)
ENHANCEMENTS:
- compute:
google_compute_diskandgoogle_compute_region_diskwill now detach themselves from a more up to date set of users at delete time. (#480) - compute:
google_compute_networkis now generated by Magic Modules, supporting configurable timeouts and more import formats. (#509) - compute:
google_compute_firewallwill validate the maximum size of service account lists at plan time. (#508) - container:
google_container_clustercan now disable VPC Native clusters withip_allocation_policy.use_ip_aliases(#489) - container:
data.google_container_engine_versionssupportsversion_prefixto allow fuzzy version matching. Using this field, Terraform can match the latest version of a major, minor, or patch release. (#506) - pubsub:
google_pubsub_subscriptionnow supports configuringmessage_retention_durationandretain_acked_messages. (#503)
BUG FIXES:
- app_engine:
google_app_engine_applicationcorrectly outputsgcr_domain. (#479) - compute:
data.google_compute_subnetworkoutputs theself_linkfield again. (#481) - compute:
google_compute_attached_diskis now removed from state if the instance was removed. (#497) - container:
google_container_clusterprivate_cluster_config now has a diff suppress to prevent a permadiff for and allows for emptymaster_ipv4_cidr_block(#460) - container:
google_container_clusterimport behavior fixed/documented for TF-state-only fields (remove_default_node_pool,min_master_version) (#476][#487][#495) - storagetransfer:
google_storage_transfer_jobwill no longer crash when accessing nil dates. (#499)
FEATURES:
- New Resource: Add support for
google_compute_managed_ssl_certificate. (#458) - New Datasource:
google_client_openid_userinfofor retrieving theemailused to authenticate with GCP. (#459)
ENHANCEMENTS:
- compute:
data.google_compute_subnetworkcan now be addressed byself_linkas an alternative to the existingname/region/projectfields. (#429) - dns: Support for privately visible zones is added to
google_dns_managed_zone. (#268) - pubsub:
google_pubsub_topicis now generated using Magic Modules, adding Open in Cloud Shell examples, configurable timeouts, and thelabelsfield. (#432) - pubsub:
google_pubsub_subscriptionis now generated using Magic Modules, adding Open in Cloud Shell examples, configurable timeouts, update support, and thelabelsfield. (#432) - sql:
google_sql_database_instancenow providespublic_ip_addressandprivate_ip_addressoutputs of the first public and private IP of the instance respectively. (#454)
BUG FIXES:
- sql:
google_sql_database_instanceallows the empty string to be set forprivate_network. (#454)
BACKWARDS INCOMPATIBILITIES:
- bigtable:
google_bigtable_instancezonefield is no longer inferred from the provider. - bigtable:
google_bigtable_tablenow readsfamilyfrom the table's column family in Cloud Bigtable instead of creating a new column family (#70) - bigtable:
google_bigtable_instance.cluster.num_nodeswill fail at plan time ifDEVELOPMENTinstances havenum_nodes = "0"set explicitly. If it has been set, unset the field. (#82) - cloudbuild:
google_cloudbuild_trigger.build.step.argsis now a list instead of space separated strings. (#308) - cloudfunctions:
google_cloudfunctions_function.retry_on_failurehas been removed. Useevent_trigger.failure_policy.retryinstead. (#75) - cloudfunctions:
google_cloudfunctions_function.trigger_bucketandgoogle_cloudfunctions_function.trigger_topichave been removed. Useevent triggerinstead. (#30) - composer:
google_composer_environment.node_config.zoneis nowRequired. (#396) - compute:
google_compute_instance,google_compute_instance_from_templatemetadatafield is now authoritative and will remove values not explicitly set in config. [#2208](https://github.com/terraform-providers/terraform-provider-google/pull/2208) - compute:
google_compute_region_instance_group_managerfieldupdate_strategyis now deprecated in the beta provider only. It will only function in thegoogleprovider, (#76) - compute:
google_compute_global_forwarding_rulefieldlabelsis now removed (#81) - compute:
google_compute_project_metadataresource is now authoritative and will remove values not explicitly set in config. [#2205](https://github.com/terraform-providers/terraform-provider-google/pull/2205) - compute:
google_compute_url_mapresource is now authoritative and will remove values not explicitly set in config. [#2245](https://github.com/terraform-providers/terraform-provider-google/pull/2245) - compute:
google_compute_snapshot.snapshot_encryption_key_raw,google_compute_snapshot.snapshot_encryption_key_sha256,google_compute_snapshot.source_disk_encryption_key_raw,google_compute_snapshot.source_disk_encryption_key_sha256fields are now removed. Usegoogle_compute_snapshot.snapshot_encryption_key.0.raw_key,google_compute_snapshot.snapshot_encryption_key.0.sha256,google_compute_snapshot.source_disk_encryption_key.0.raw_key,google_compute_snapshot.source_disk_encryption_key.0.sha256instead. (#202) - compute:
google_compute_instance_group_manageris no longer imported by the provider-level region. Set the appropriate provider-level zone instead. (#248) - compute:
google_compute_region_instance_group_manager.update_strategyin thegoogle-betaprovider has been removed. (#189) - compute:
google_compute_instance,google_compute_instance_template,google_compute_instance_from_templatehave had thenetwork_interface.addressfield removed. (#190) - compute:
google_compute_instancehas had thenetwork_interface.access_config.assigned_nat_ipfield removed (#48) - compute:
google_compute_diskis no longer imported by the provider-level region. Set the appropriate provider-level zone instead. (#249) - compute:
google_compute_router_nat.subnetwork.source_ip_ranges_to_natis now Required insidesubnetworkblocks. (#281) - compute:
google_compute_ssl_certificate'sprivate_keyfield is no longer stored in state in cleartext; it is now SHA256 encoded. (#400) - container:
google_container_clusterfields (private_cluster,master_ipv4_cidr_block) are removed. Useprivate_cluster_configandprivate_cluster_config.master_ipv4_cidr_blockinstead. (#78) - container:
google_container_node_pool'sname_prefixfield has been restored and is no longer deprecated. (#2975) - sql:
google_sql_database_instanceresource is now authoritative and will remove values not explicitly set in config. [#2203](https://github.com/terraform-providers/terraform-provider-google/pull/2203) - endpoints:
google_endpoints_service.protoc_outputwas removed. Usegoogle_endpoints_service.protoc_output_base64instead. (#79) - resourcemanager:
google_project_iam_policyis now authoritative and will remove values not explicitly set in config. Several fields were removed that made it authoritative:authoritative,restore_policy, anddisable_project. This resource is very dangerous! Ensure you are not using the removed fields (authoritative,restore_policy,disable_project). (#25) - resourcemanager: Datasource
google_service_account_key.service_account_idhas been removed. Use thenamefield instead. (#80) - resourcemanager:
google_project.app_enginehas been removed. Use thegoogle_app_engine_applicationresource instead. (#74) - resourcemanager:
google_organization_custom_role.deletedis now an output-only attribute. Useterraform destroy, or remove the resource from your config instead. (#191) - resourcemanager:
google_project_custom_role.deletedis now an output-only attribute. Useterraform destroy, or remove the resource from your config instead. (#199) - serviceusage:
google_project_servicewill now error instead of silently disabling dependent services ifdisable_dependent_servicesis unset. (#384) - storage:
google_storage_object_acl.role_entityis now authoritative and will remove values not explicitly set in config. Usegoogle_storage_object_access_controlfor fine-grained management. (#26) - storage:
google_storage_default_object_acl.role_entityis now authoritative and will remove values not explicitly set in config. (#47) - iam:
google_*_iam_bindingChange all IAM bindings to be authoritative (#291)
FEATURES:
- New Resource:
google_access_context_manager_access_policyfor managing the container for an organization's access levels. (#96) - New Resource:
google_access_context_manager_access_levelfor managing an organization's access levels. (#149) - New Resource:
google_access_context_manager_service_perimeterfor managing service perimeters in an access policy. (#246) - New Resource:
google_app_engine_firewall_rule(#271][#336) - New Resource:
google_monitoring_group(#120) - New Resource:
google_project_iam_audit_config(#265) - New Resource:
google_storage_transfer_jobfor managing recurring storage transfers with Google Cloud Storage. (#256) - New Resource:
google_cloud_scheduler_jobfor managing the cron job scheduling service with Google Cloud Scheduler. (#378) - New Datasource:
google_storage_bucket_object(#223) - New Datasource:
google_storage_transfer_project_service_accountdata source for retrieving the Storage Transfer service account for a project (#247) - New Datasource:
google_kms_crypto_key(#359) - New Datasource:
google_kms_key_ring(#359)
ENHANCEMENTS:
- provider: Add
access_tokenconfig option to allow Terraform to authenticate using short-lived Google OAuth 2.0 access token (#330) - bigquery: Add new locations
europe-west2andaustralia-southeast1to valid location set forgoogle_bigquery_dataset(#41) - bigquery: Add
default_partition_expiration_msfield togoogle_bigquery_datasetresource. (#127) - bigquery: Add
delete_contents_on_destroyfield togoogle_bigquery_datasetresource. (#413) - bigquery: Add
time_partitioning.require_partition_filtertogoogle_bigquery_tableresource. (#324) - bigquery: Allow more BigQuery regions (#269)
- bigtable: Add
column_familyat create time togoogle_bigtable_table. [#2228](https://github.com/terraform