FEATURES:
- New Resource:
google_privateca_certificate_template
(#3561) - New Resource:
google_compute_firewall_policy
(#3556) - New Resource:
google_compute_firewall_policy_association
(#3556) - New Resource:
google_compute_firewall_policy_rule
(#3556)
IMPROVEMENTS:
- notebooks: added support for
nic_type
,reservation_affinity
togoogle_notebooks_instance
(#3554) - sql: added field
collation
togoogle_sql_database_instance
(#3557)
BUG FIXES:
- apigateway: fixed import functionality for all
apigateway
resources (#3549) - compute: fixed a bug when a
source_machine_image
from a different project is used ongoogle_compute_instance_from_machine_image
(#3541) - dns: fixed not-exists error message on data source
google_dns_managed_zone
(#3559) - healthcare: fixed bug where changes to
google_healthcare_hl7_v2_store.parser_config
subfields would error with "...parser_config.version field is immutable..." (#3560) - os_config: fixed imports for
google_os_config_guest_policies
(#3550) - pubsub: added polling to
google_pubsub_schema
to deal with eventually consistent deletes (#3544) - secretmanager: fixed an issue where
replication
fields would not update ingoogle_secret_manager_secret
(#3558) - service_usage: fixed imports on
google_service_usage_consumer_quota_override
(#3552) - sql: fixed a permadiff bug for
type
when BUILT_IN ongoogle_sql_user
(#3545) - sql: fixed bug in
google_sql_user
with CLOUD_IAM_USERs on POSTGRES. (#3542)
IMPROVEMENTS:
- compute: Added
enable
attribute togoogle_compute_router_peer
(#3507) - compute: added support for
L3_DEFAULT
asip_protocol
forgoogle_compute_forwarding_rule
andUNSPECIFIED
asprotocol
forgoogle_compute_region_backend_service
to support network load balancers that forward all protocols and ports. (#3516) - compute: added support for
security_settings
togoogle_compute_backend_service
(#3515) - gkehub: added
google_gke_hub_membership
support for both//container.googleapis.com/${google_container_cluster.my-cluster.id}
andgoogle_container_cluster.my-cluster.id
inendpoint.0.gke_cluster.0.resource_link
(#3502) - provider: Added provider support for
request_reason
(#3513) - provider: added support for
billing_project
across all resources. Ifuser_project_override
is set totrue
and abilling_project
is set, theX-Goog-User-Project
header will be sent for all resources. (#3539)
BUG FIXES:
- assuredworkloads: enhanced resource deletion so
google_assured_workloads_workload
can delete what it creates (#3533) - bigquery: fixed the permadiff bug on
location
of thegoogle_bigquery_dataset
(#3524) - composer: fixed environment version regexp to explicitly require . (dot) instead of any character after 'preview' (example: composer-2.0.0-preview.0-airflow-2.1.1) (#3520)
- compute: changed
wait_for_instances
ingoogle_compute_instance_group_manager
andgoogle_compute_region_instance_group_manager
to no longer block plan / refresh, waiting on managed instance statuses during apply instead (#3531) - compute: fixed a bug where
negative_caching_policy
cannot be set always revalidate ongoogle_compute_backend_service
(#3529) - compute: fixed instances where compute resource calls would have their urls appended with a redundant
/projects
after the host (#3532) - firestore: removed diff for server generated field
__name__
ongoogle_firestore_index
(#3528) - privateca: Fixed null for
ignore_active_certificates_on_deletion
on the importedgoogle_privateca_certificate_authority
(#3511) - privateca: fixed the creation of subordinate
google_privateca_certificate_authority
withmax_issuer_path_length = 0
. (#3540)
FEATURES:
- New Resource:
google_dialogflow_cx_environment
(#3488)
IMPROVEMENTS:
- gkehub: added support for both
//container.googleapis.com/${google_container_cluster.my-cluster.id}
andgoogle_container_cluster.my-cluster.id
references ingoogle_gke_hub_membership.endpoint.0.gke_cluster.0.resource_link
(#3502) - kms: added
name
field togoogle_kms_crypto_key_version
datasource (#3500)
BUG FIXES:
- apigee: fixed update behavior on
google_apigee_envgroup
(#3489) - artifact_registry: transitioned the field
format
to be case insensitive in aligning with backend behavior ongoogle_artifact_registry_repository
(#3491) - privateca: fixed a failure to create
google_privateca_certificate_authority
of typeSUBORDINATE
due to an invalid attempt to activate it on creation. (#3499)
NOTES:
- spanner: The
num_nodes
field ongoogle_spanner_instance
will have its default removed in a future major release, and eithernum_nodes
orprocessing_units
will be required. (#3479)
FEATURES:
- New Resource:
google_dialogflow_cx_entity_type
(#3480) - New Resource:
google_dialogflow_cx_page
(#3461)
IMPROVEMENTS:
- container: added
network_config
block togoogle_container_node_pool
resource (#3472) - spanner: added
processing_units
togoogle_spanner_instance
. (#3479) - storage: added support for
customer_encryption
onresource_storage_bucket_object
(#3469)
IMPROVEMENTS:
- composer: added validation for
max_pods_per_node
field. (#3445) - servicenetworking: added support for
user_project_override
andbilling_project
togoogle_service_networking_connection
(#3455)
BUG FIXES:
- storagetransfer: fixed a crash on
azure_blob_storage_data_source
forgoogle_storage_transfer_job
(#3447) - sql: fixed bug that wouldn't insert the
google_sql_user
in state for iam users. (#3442) - storage: fixed a crash when
azure_credentials
was defined ingoogle_storage_transfer_job
(#3457)
FEATURES:
- New Resource:
google_scc_notification_config
(#3431)
IMPROVEMENTS:
- composer: added field
maintenance_window
to resourcegoogle_composer_environment
(#3435) - compute: fixed a permadiff bug in
log_config
field ofgoogle_compute_region_backend_service
(#3427) - dlp: added
crypto_replace_ffx_fpe_config
andcrypto_replace_ffx_fpe_config
as primitive transformation types togoogle_data_loss_prevention_deidentify_template
(#3429)
BUG FIXES:
- bigquerydatatransfer: fixed a bug where
destination_dataset_id
was required, it is now optional. (#3438) - billing: Fixed ordering of
budget_filter. projects
ongoogle_billing_budget
(#3436) - compute: removed default value of
0.8
fromgoogle_backend_service.backend.max_utilization
and it will now default from API. Allmax_connections_xxx
andmax_rate_xxx
will also default from API as these are all conditional on balancing mode. (#3432) - sql: fixed bug where the provider would retry on an error if the database instance name couldn't be reused. (#3434)
FEATURES:
- New Resource:
google_assured_workloads_workload
(#3410) - 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_range
ongoogle_apigee_instance
(#3424) - cloudbuild: Added
pubsub_config
andwebhook_config
parameter 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_version
as an output onbigquery_table.encryption_configuration
and thedestination_encryption_configuration
blocks ofbigquery_job.query
,bigquery_job.load
, andbigquery_copy
. (#3406) - compute: added
advanced_machine_features
togoogle_compute_instance
(#3392) - dlp: Added
replace_with_info_type_config
todlp_deidentify_template
. (#3384) - storage: added
temporary_hold
andevent_based_hold
attributes 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.units
updatable 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_name
field togoogle_bigtable_instance
(#3354) - composer: added field
max_pods_per_node
to resourcegoogle_composer_environment
(beta) (#3376) - secretmanager: added
ttl
,expire_time
,topics
androtation
fields togoogle_secret_manager_secret
(#3360)
BUG FIXES:
- container: allowed setting
node_config.service_account
at the same time asenable_autopilot = true
forgoogle_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_template
withsecondary_worker_config
empty except fornum_instances = 0
(#3347) - filestore: fixed an issue in
google_filestore_instance
where creating two instances simultaneously resulted in an error. (#3358) - iam: fixed an issue in
google_iam_workload_identity_pool_provider
whereaws
andoidc
were not updatable. (#3350) - sql: added support for
binary_logging
on 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_config
togoogle_compute_security_policy
(#3322) - compute: added
advanced_machine_features
fields togoogle_compute_instance_template
(#3337) - compute: added a
network_performance_config
block to each ofresource_compute_instance
,resource_compute_instance_from_template
, andresource_compute_instance_template
(#3341) - redis: allowed
redis_version
to be upgraded ongoogle_redis_instance
(#3344)
BUG FIXES:
- apigee: added SLASH_23 support for
peering_cidr_range
ongoogle_apigee_instance
(#3327) - cloudrun: fixed a bug where plan would should a diff on
google_cloud_run_service
if the order of thetemplate.spec.containers.env
list was re-ordered outside of terraform. (#3326) - container: added
user_project_override
support to the ContainerOperationWaiter used bygoogle_container_cluster
(#3345)
IMPROVEMENTS:
- container: Allowed specifying a cluster id field for
google_container_node_pool.cluster
to ensure that a node pool is recreated if the associated cluster is recreated. (#3314) - storagetransfer: added support for
azure_blob_storage_data_source
togoogle_storage_transfer_job
(#3316)
BUG FIXES:
- bigquery: Fixed
google_bigquery_table.schema
handling of policyTags (#3307) - bigtable: fixed bug that would error if creating multiple bigtable gc policies at the same time (#3311)
- compute: fixed bug where
encryption
showed a perma-diff on resources created prior to the feature being released. (#3309) - dataflow: fixed handling of failed
google_dataflow_flex_template_job
updates (#3318) - dataflow: made
google_dataflow_flex_template_job
updates 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_affinity
togoogle_compute_instance
andgoogle_compute_instance_template
(#3288) - compute: added support for
wait_for_instances_status
ongoogle_compute_instance_group_manager
andgoogle_compute_region_instance_group_manager
(#3283) - compute: added support for output-only
status
field ongoogle_compute_instance_group_manager
andgoogle_compute_region_instance_group_manager
(#3283) - compute: set the default value for log_config.enable on
google_compute_region_health_check
to 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_class
is set empty ongoogle_storage_bucket
(#3282) - vpcaccess: fixed permadiff when
max_throughput
is not set ongoogle_vpc_access_connector
(#3294)
IMPROVEMENTS:
- compute: added
provisioned_iops
togoogle_compute_disk
(#3269) - sql: added field
disk_autoresize_limit
tosql_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_disk
andgoogle_compute_disk
would force recreation due to the addition ofinterface
property (#3272) - compute: fixed missing values for
negative_caching
andserve_while_stale
ongoogle_compute_backend_service
(#3278) - storage: fixed error when
matches_storage_class
is set empty ongoogle_storage_bucket
(#3282)
IMPROVEMENTS:
- apigateway: allowed field
apiconfig
to 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_attachment
andgoogle_compute_address
(#3256) - dataflow: enabled updates for
google_dataflow_flex_template_job
(#3246)
BUG FIXES:
- cloudidentity: fixed recreation on the
initial_group_config
ofgoogle_cloud_identity_group
(#3252) - compute: added mutex in
google_compute_metadata_item
to reduce retries + quota errors (#3262) - container: fixed bug where
enable_shielded_nodes
could not be false on resourcegoogle_container_cluster
(#3247)
FEATURES:
- New Resource:
google_pubsub_schema
(#3243)
IMPROVEMENTS:
- compute: added
initial_size
in resourcegoogle_compute_node_group
to account for scenarios where size may change under the hood (#3228) - compute: added support for setting
kms_key_name
ongoogle_compute_machine_image
(#3241) - dataflow: enabled updates for
google_dataflow_flex_template_job
(#3246)
BUG FIXES:
- compute: Fixed permadiff for
cdn_policy.serve_while_stale
andcdn_policy.*_ttl
ingoogle_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_version
andremove_default_node_pool
cannot 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_id
orproject_id
ingoogle_bigquery_dataset
will now recreate the resource (#3185)
IMPROVEMENTS:
- accesscontextmanager: added support for
require_verified_chrome_os
in basic access levels. (#3223) - billingbudget: added support for import of
google_billing_budget
(#3194) - cloud_identity: added support for
initial_group_config
to 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_size
to account for scenarios where size may change under the hood in resourcegoogle_compute_node_group
(#3228) - compute: added
interface
field togoogle_compute_region_disk
(#3193) - healthcare: added support for
stream_configs
ingoogle_healthcare_dicom_store
(#3190) - secretmanager: added support for setting a CMEK on
google_secret_manager_secret
(#3212) - spanner: added
force_destroy
togoogle_spanner_instance
to delete instances that have backups enabled. (#3227) - spanner: added support for setting a CMEK on
google_spanner_database
(#3181) - workflows: marked
source_contents
andservice_account
as updatable ongoogle_workflows_workflow
(#3205)
BUG FIXES:
- bigquery: fixed
dataset_id
to 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_block
to draw default from the API (#3204) - compute: fixed the failure when
min_required_replicas
is set to 0 ongoogle_compute_autoscaler
orgoogle_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
rrdatas
list ongoogle_dns_record_set
for AAAA records (#3207) - kms: fixed indirectly force replacement via
skip_initial_version_creation
ongoogle_kms_crypto_key
(#3192) - logging: fixed
metric_descriptor.labels
can't be updated on 'google_logging_metric' (#3217) - pubsub: fixed diff for
minimum_backoff & maximum_backoff
ongoogle_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.service
validation to reject invalid service domains that don't contain a period (#3191) - storage: fixed bug where
role_entity
user wouldn't update if the role changed. (#3199)
BUG FIXES:
- compute: fixed bug where terraform would crash if updating from no
service_account.scopes
to more. (#3208)
NOTES:
- all: changed default HTTP request timeout from 30 seconds to 120 seconds (#3181)
BREAKING CHANGES:
- datacatalog: updating
parent
ingoogle_data_catalog_tag
will 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_config
fields togoogle_dataproc_cluster
(#3157) - spanner: added support for setting a CMEK on
google_spanner_database
(#3181)
BUG FIXES:
- compute: fixed error when creating empty
scopes
ongoogle_compute_instance
(#3174) - container: fixed a bug that allowed specifying
node_config
ongoogle_container_cluster
when autopilot is used (#3155) - datacatalog: fixed an issue where
parent
ingoogle_data_catalog_tag
attempted to update the resource when change instead of recreating it (#3179) - datacatalog: set default false for
force_delete
ongoogle_data_catalog_tag_template
(#3164) - dns: added missing record types to
google_dns_record_set
resource (#3160) - sql: set
clone.point_in_time
optional 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_address
by a reference in addition to raw IP address (#3140) - compute: enabled fields
advertiseMode
,advertisedGroups
,peerAsn
, andpeerIpAddress
to be updatable on resourcegoogle_compute_router_peer
(#3134) - eventarc: added
transport.pubsub.topic
togoogle_eventarc_trigger
(#3149)
BUG FIXES:
- cloud_identity: fixed google_cloud_identity_group_membership import/update (#3136)
- compute: removed minimum for
scopes
field ongoogle_compute_instance
resource (#3147) - iam: fixed issue with principle and principleSet members not retaining their casing (#3133)
- workflows: fixed a bug in
google_workflows_workflow
that could cause inconsistent final plan errors when using thename
field 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_filter
field togoogle_bigquery_table
when provisioninghive_partitioning_options
(#3106) - cloudbuild: added new machine types for
google_cloudbuild_trigger
(#3115) - compute: added field
maintenance_window.start_time
togoogle_compute_node_group
(#3125) - compute: added gVNIC support for
google_compute_instance_template
(#3123) - datacatalog: added
description
field togoogle_data_catalog_tag_template
resource (#3128) - iam: added support for third party identities via the principle and principleSet IAM members (#3133)
BUG FIXES:
- compute: reverted datatype change for
mtu
ingoogle_compute_interconnect_attachment
as 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 apply
error 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_instance
to 30m from 20m (#3099)
BUG FIXES:
- bigquery: fixed issue where you couldn't extend an existing
schema
with additional columns ingoogle_bigquery_table
(#3100) - cloudidentity: modified
google_cloud_identity_groups
andgoogle_cloud_identity_group_memberships
to respect theuser_project_override
andbilling_project
configurations and send the appropriate headers to establish a quota project (#3081) - compute: added minimum for
scopes
field togoogle_compute_instance
resource (#3098) - notebooks: fixed permadiff on labels for
google_notebook_instance
(#3096) - secretmanager: set required on
secrest_data
ingoogle_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
format
ongoogle_artifact_registry_repository
(#3068) - compute: added
proxy_bind
togoogle_compute_target_tcp_proxy
,google_compute_target_http_proxy
andgoogle_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
mtu
ingoogle_compute_interconnect_attachment
(#3075
IMPROVEMENTS:
- provider: The provider now supports Workload Identity Federation. The federated json credentials must be loaded through the
GOOGLE_APPLICATION_CREDENTIALS
environment variable. (#3054) - compute: added
proxy_bind
togoogle_compute_target_tcp_proxy
,google_compute_target_http_proxy
andgoogle_compute_target_https_proxy
(#3061) - compute: changed
google_compute_subnetwork
to accept more values in thepurpose
field (#3043) - dataflow: added
enable_streaming_engine
argument (#3049) - vpcaccess: added
subnet
,machine_type
beta 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_routes
andimport_custom_routes
ingoogle_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
mtu
field togoogle_compute_interconnect_attachment
(#3006) - compute: added autoscaling_policy.cpu_utilization.predictive_method field to
google_compute_autoscaler
andgoogle_compute_region_autoscaler
(#2987) - compute: added support for
nic_type
togoogle_compute_instance
(GA only) (#2998) - container: added field
ephemeral_storage_config
to resourcegoogle_container_node_pool
andgoogle_container_cluster
(beta) (#3023) - datafusion: added support for the
DEVELOPER
instance 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_days
andsettings.0.backup_configuration.transaction_log_retention_days
fields togoogle_sql_database_instance
(#3010) - storage: added
kms_key_name
togoogle_storage_bucket_object
resource (#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_function
updates (#2992) - cloudidentity: fixed a bug where
google_cloud_identity_group
would periodically fail with a 403 (#3012) - compute: fixed a perma-diff for
nat_ips
that 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_exclusion
forgoogle_container_cluster
(#3014) - container: fixed an issue where release channel UNSPECIFIED could not be set (#3019)
- essentialcontacts: made
language_tag
required forgoogle_essential_contacts_contact
(#2994) - serviceusage: fixed an issue in
google_service_usage_consumer_quota_override
where setting theoverride_value
to 0 would result in a permanent diff (#2985) - serviceusage: fixed an issue in
google_service_usage_consumer_quota_override
where setting theoverride_value
to 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_config
togoogle_composer_environment
resource (#2967) - compute: Added graceful termination to
google_container_node_pool
create calls so that partially created node pools will resume the original operation if the Terraform process is killed mid create. (#2969) - redis : marked
auth_string
on theresource_redis_instance
resource as sensitive (#2974)
BUG FIXES:
- apigee: fixed IDs when importing
google_apigee_organization
resource (#2966) - artifactregistry: fixed issue where updating
google_artifact_registry_repository
always failed (#2968) - compute : fixed a bug where
guest_flush
could not be set to false for the resourcegoogle_compute_resource_policy
(#2975) - compute: fixed a panic on empty
target_size
ingoogle_compute_region_instance_group_manager
(#2979) - redis: fixed invalid value error on
auth_string
ingoogle_redis_instance
(#2970)
NOTES:
google_bigquery_table
resources now cannot be destroyed unlessdeletion_protection = false
is set in state for the resource. (#2954)
FEATURES:
IMPROVEMENTS:
- bigquery: added
deletion_protection
field togoogle_bigquery_table
to 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_address
andgoogle_compute_global_forwarding_rule
(#2956) - iam: added a retry condition that retries editing
iam_binding
andiam_member
resources 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_config
block togoogle_sql_database_instance
resource (#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_hour
not sent in API request for the resourcegoogle_dataproc_job
(#2949) - dlp : modified
google_data_loss_prevention_stored_info_type
regex.group_indexes
field to trigger resource recreation on update (#2947) - sql: fixed diffs based on case for
charset
ingoogle_sql_database
(#2957)
DEPRECATIONS:
- compute: deprecated
source_disk_url
field ingoogle_compute_snapshot
. (#2939) - kms: deprecated
self_link
field ingoogle_kms_keyring
andgoogle_kms_cryptokey
resource as it is identical value toid
field. (#2939) - pubsub: deprecated
path
field ingoogle_pubsub_subscription
resource as it is identical value toid
field. (#2939)
FEATURES:
- New Resource:
google_essential_contacts_contact
(#2943) - New Resource:
google_privateca_certificate
(#2924)
IMPROVEMENTS:
- bigquery: added
status
field togoogle_bigquery_job
(#2926) - compute: added
disk.resource_policies
field to resourcegoogle_compute_instance_template
(#2929) - compute: added
nic_type
field togoogle_compute_instance_template
resource to support gVNIC (#2941) - compute: added
nic_type
field togoogle_compute_instance
resource to support gVNIC (#2941) - pubsub: marked
kms_key_name
field ingoogle_pubsub_topic
as 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_policies
field to resourcegoogle_compute_instance_template
(#2929) - sql: added support for point-in-time-recovery to
google_sql_database_instance
(#2923) - monitoring : added
availability
sli metric support for the resourcegoogle_monitoring_slo
(#2908)
BUG FIXES:
- bigquery: fixed bug where you could not reorder columns on
schema
for resourcegoogle_bigquery_table
(#2913) - cloudrun: suppressed
run.googleapis.com/ingress-status
annotation ingoogle_cloud_run_service
(#2920) - serviceaccount: loosened restrictions on
account_id
for datasourcegoogle_service_account
(#2917)
BREAKING CHANGES:
- Reverted
* bigquery: made incompatible changes to the
google_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_shape
field togoogle_compute_region_instance_group_manager
resource (#8277) - container: promoted
master_global_access_config
,tpu_ipv4_cidr_block
,default_snat_status
anddatapath_provider
fields ofgoogle_container_cluster
to GA. (#8303) - dataproc: Added field
temp_bucket
togoogle_dataproc_cluster
cluster config. (#8131) - notebooks: added
tags
,service_account_scopes
,shielded_instance_config
togoogle_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_subnetwork
to 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.schema
field cause the resource to be recreated (#2876) - bigtable: fixed an issue where the
google_bigtable_instance
resource was not inferring the zone from the provider. (#2873) - cloudscheduler: fixed unnecessary recreate for
google_cloud_scheduler_job
(#2882) - compute: added
scaling_schedules
fields togoogle_compute_autoscaler
andgoogle_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_manager
resources were not inferring the region/zone from the provider. (#2874) - memcache: fixed an issue where
google_memcached_instance
resource was not inferring the region from the provider. (#2863) - tpu: fixed an issue where
google_tpu_node
resource was not inferring the zone from the provider. (#2863) - vpcaccess: fixed an issue where
google_vpc_access_connector
resource was not inferring the region from the provider. (#2863)
BUG FIXES:
- bigquery: fixed an issue in
bigquery_dataset_iam_member
where deleted members were not handled correctly (#2875) - compute: fixed a perma-diff on
google_compute_health_check
whenlog_config.enable
is 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_instance
resource was not inferring the region from the provider. (More info) - serviceaccount: added a
keepers
field togoogle_service_account_key
that 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_node
resource was not inferring the zone from the provider. (More info) - vpcaccess: fixed an issue where
google_vpc_access_connector
resource 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_settings
where the defaultproject
was used rather thanproject_id
(#2852)
BREAKING CHANGES:
- billing: removed import support for
google_billing_budget
as 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
duration
forbigtable_gc_policy
to 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
multiwriter
to resourcedisk
(beta) (#2822) - compute: added support for
enable_independent_endpoint_mapping
togoogle_compute_router_nat
resource (#2805) - compute: added support for
filter.direction
togoogle_compute_packet_mirroring
(#2825) - compute: promoted
confidential_instance_config
field ingoogle_compute_instance
andgoogle_compute_instance_template
to GA (#2818) - dataflow: Added optional
kms_key_name
field forgoogle_dataflow_job
(#2829) - dataflow: added documentation about using
parameters
for custom service account and other pipeline options togoogle_dataflow_flex_template_job
(#2776) - redis: added
auth_string
output togoogle_redis_instance
whenauth_enabled
istrue
(#2819) - sql: added support for setting the
type
field ongoogle_sql_user
to support IAM authentication (#2802)
BUG FIXES:
- bigquery: fixed a bug in
google_bigquery_connection
that caused the resource to function incorrectly whenconnection_id
was unset (#2792) - compute: removed requirement for
google_compute_region_url_map
default_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_queue
when the 0s is supplied (#2812) - cloudfunctions: fixed a bug where
google_cloudfunctions_function
would sometimes fail to update after being imported from gcloud (#2780) - cloudrun: fixed a permanent diff on
google_cloud_run_domain_mapping
spec.force_override
field (#2791) - container: added plan time validation to ensure
enable_private_nodes
is true ifmaster_ipv4_cidr_block
is set on resourcecluster
(#2811) - container: fixed an issue where setting
google_container_cluster.private_cluster_config[0].master_global_access_config.enabled
tofalse
caused 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_instance
that 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_method
field toupdate_policy
block ofgoogle_compute_instance_group_manager
(#2756) - compute: added
replacement_method
field toupdate_policy
block ofgoogle_compute_region_instance_group_manager
(#2756) - logging: added plan time validation for
unique_writer_identity
ongoogle_logging_project_sink
(#2767) - storage: added more lifecycle conditions to
google_storage_bucket
resource (#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_accounts
would delete all IAM bindings on a project when run withaction = "DEPRIVILEGE"
(#2771) - spanner: fixed an issue in
google_spanner_database
where multi-statement updates were not formatted correctly (#2766) - sql: fixed a bug in
google_sql_database_instance
that 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_method
field toupdate_policy
block ofgoogle_compute_instance_group_manager
(#2756) - compute: added
replacement_method
field toupdate_policy
block 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_FAILURE
togoogle_project_default_service_accounts
(#2750) - serviceusage: Allowed use of field
force
with 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_bucket
wherecors
could 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
ORC
as a valid option tosource_format
field ofgoogle_bigquery_table
resource (#2714) - compute: added
custom_response_headers
field togoogle_compute_backend_service
resource (#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_variable
resource as sensitive (#2717) - sql: added
deletion_policy
field togoogle_sql_user
to 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_config
resoure (#2692) - cloudfunctions: fixed a bug with
google_cloudfunction_function
that blocked updates when Organization Policies are enabled. (#2681) - compute: added
autoscaling_policy.0.scale_in_control
fields togoogle_compute_autoscaler
(#2703) - compute: added
autoscaling_policy.0.scale_in_control
fields togoogle_compute_region_autoscaler
(#2703) - compute: added update support for
google_compute_interconnect_attachment
bandwidth
field (#2698) - dataproc: added "FLINK", "DOCKER", "HBASE" as valid options for field cluster_config.0.software_config.0.optional_components of
google_dataproc_cluster
resource (#2683)
BUG FIXES:
- cloudrun: added diff suppress function for
google_cloud_run_domain_mapping
metadata.annotations
to ignore API-set fields (#2700) - compute: fixed an issue in
google_compute_packet_mirroring
where updates would fail due tonetwork
not being updatable (#2704) - datacatalog: fixed an issue in
google_data_catalog_taxonomy
andgoogle_data_catalog_policy_tag
where importing would fail (#2694) - spanner: marked
google_spanner_instance.config
as 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_function
that 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_service
to suppress Google generated annotations (#2679)
BUG FIXES:
- dataflow: removed required validation for zone for
google_data_flow_job
when region is given in the config (#2662) - monitoring: Fixed type of
google_monitoring_slo
'srange
values - somerange
values are doubles, others are integers. (#2655) - pubsub: Fixed permadiff on push_config.attributes. (#2672)
- storage: fixed an issue in
google_storage_bucket
wherelifecycle_rules
were always included in update requests (#2684)
NOTES:
- compute: updated
google_compute_machine_image
resource 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_preferences
field togoogle_bigquery_data_transfer_config
resource (#2652) - bigquery: added
schedule_options
field togoogle_bigquery_data_transfer_config
resource (#2641) - compute: added
private_ipv6_google_access
field togoogle_compute_subnetwork
(#2649) - compute: added storage_locations & cmek fields to
google_compute_machine_image
resource (#2637) - compute: added support for non-destructive updates to
export_custom_routes
andimport_custom_routes
forgoogle_compute_network_peering
(#2633) - compute: relaxed
load_balancing_scheme
validation ofgoogle_compute_region_backend_service
to support external network load-balancers (#2628) - container: added
confidential_nodes
field togoogle_container_cluster
resource (#2632) - datacatalog: added taxonomy and policy_tag
google_data_catalog
(#2626) - dlp: added
custom_info_types
togoogle_dlp_inspect_template
(#2648) - functions: added
build_environment_variables
field togoogle_cloudfunction_function
(#2629) - kms: added
skip_initial_version_creation
togoogle_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_check
port
values caused a diff whenport_specification
was unset or set to""
(#2635) - monitoring: added more retries for potential failed monitoring operations (#2639)
- osconfig: fixed an issue where the
rollout.disruption_budget.percentage
field ingoogle_os_config_patch_deployment
did not correspond to a field in the API (#2644) - sql: fixed a case in
google_sql_database_instance
where we inadvertently required theprojects.get
permission for a service networking precheck introduced inv3.44.0
(#2634)
BREAKING CHANGES:
- pubsub: changing the value of
google_pubsub_subscription.enable_message_ordering
will now recreate the resource. Previously, an error was returned. (#2624) - spanner:
google_spanner_database
resources now cannot be destroyed unlessdeletion_protection = false
is 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_recipients
field togoogle_billing_budget
to allow disable sending email notifications to default recipients. (#2606) - compute: added
interface
attribute togoogle_compute_disk
(#2609) - compute: added
mtu
field togoogle_compute_network
resource (#2617) - compute: added support for updating
network_interface.[d].network_ip
ongoogle_compute_instance
when changing network or subnetwork (#2590) - compute: promoted HA VPN fields in
google_compute_vpn_tunnel
to GA (#2607) - compute: promoted
google_compute_external_vpn_gateway
to GA (#2607) - compute: promoted
google_compute_ha_vpn_gateway
to GA (#2607) - provider: added support for service account impersonation. (#2604)
- spanner: added
deletion_protection
field togoogle_spanner_database
to 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_utilization
could not be updated (#2620) - iap: fixed an eventual consistency bug causing creates for
google_iap_brand
to 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_protection
togoogle_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_access
to retry quota errors since quota refreshes quickly. (#2584) - bigquery: added
MONTH
andYEAR
as allowed values ingoogle_bigquery_table.time_partitioning.type
(#2562) - cloud_tasks: added
stackdriver_logging_config
field tocloud_tasks_queue
resource (#2572) - compute: added support for updating
network_interface.[d].network_ip
ongoogle_compute_instance
when changing network or subnetwork (#2590) - compute: added
maintenance_policy
field togoogle_compute_node_group
(#2586) - compute: added filter field to google_compute_image datasource (#2573)
- dataproc: Added
graceful_decomissioning_timeout
field todataproc_cluster
resource (#2571) - iam: fixed
google_service_account_id_token
datasource 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
project
ongoogle_os_login_ssh_public_key
(#2583) - redis: Added
auth_enabled
field togoogle_redis_instance
(#2570) - resourcemanager: added a precheck that the serviceusage API is enabled to
google_project
whenauto_create_network
is false, as configuring the GCE API is required in that circumstance (#2566) - sql: added a check to
google_sql_database_instance
to 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_product
entries specified as a URL would result in a permadiff (#2565) - compute: fixed ability to clear
description
field ongoogle_compute_health_check
andgoogle_compute_region_health_check
(#2580) - monitoring: fixed bug where deleting a
google_monitoring_dashboard
would 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_table
materialized_view
field (#2532) - cloudbuild: Added
COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY
support togoogle_cloudbuild_trigger.github.pull_request.comment_control
field (#2552) - compute: added additional fields to the
google_compute_forwarding_rule
datasource. (#2550) - dns: added
forwarding_path
field togoogle_dns_policy
resource (#2540) - netblock: changed
google_netblock_ip_ranges
to 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_product
entries specified as a URL would result in a permadiff - artifactregistry: fixed an issue where
google_artifact_registry_repository
would import an empty state (#2546) - bigquery: fixed an issue in
google_bigquery_job
where non-US locations could not be read (#2542) - cloudrun: fixed an issue in
google_cloud_run_domain_mapping
where labels provided by Google would cause a diff (#2531) - compute: Fixed an issue where
google_compute_region_backend_service
requiredhealthChecks
for a serverless network endpoint group. (#2547) - container: fixed
node_config.image_type
perma-diff when specified in lower case. (#2538) - datacatalog: fixed an error in
google_data_catalog_tag
when trying to set boolean field tofalse
(#2534) - monitoring: fixed bug where deleting a
google_monitoring_dashboard
would 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].network
andnetwork_interface.[d].subnetwork
properties ongoogle_compute_instance
. (#2517) - container: added
notification_config
togoogle_container_cluster
(#2521) - dataflow: added
region
field togoogle_dataflow_flex_template_job
resource (#2520) - healthcare: added field
parser_config.version
togoogle_healthcare_hl7_v2_store
(#2516)
BUG FIXES:
- bigquery: fixed an issue where
google_bigquery_table
would crash while reading an empty schema (#2518) - compute: fixed an issue where
google_compute_instance_template
would throw an error for unspecifieddisk_size_gb
values while upgrading the provider. (#2515) - resourcemanager: fixed an issue in retrieving
google_active_folder
data source when the display name included whitespace (#2528)
IMPROVEMENTS:
- container: Added support for
datapath_provider
togoogle_container_cluster
(#2492) - cloudfunctions: added the ALLOW_INTERNAL_AND_GCLB option to
ingress_settings
ofgoogle_cloudfunctions_function
resource. (#2493) - composer: allowed in-place updates to webserver and database machine type (#2491)
- compute: added
SEV_CAPABLE
option toguestOsFeatures
ingoogle_compute_image
resource. (#2503) - tpu: added
use_service_networking
togoogle_tpu_node
which enables Shared VPC Support. (#2497)
BUG FIXES:
- cloudidentity: Fixed upstream breakage of
google_identity_group
. (#2507)
DEPRECATIONS:
- bigtable: deprecated
instance_type
forgoogle_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
options
andartifacts
properties 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_type
togoogle_container_cluster
Cloud Run config addon. (#2487) - dataflow: added
transformnameMapping
togoogle_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_routing
sub-fields ingoogle_bigtable_app_profile
(#2482) - dataproc: fixed issues where updating
google_dataproc_cluster.cluster_config.autoscaling_policy
would do nothing, and where there was no way to remove a policy. (#2483) - osconfig: fixed a potential crash in
google_os_config_patch_deployment
due 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.com
was getting enabled as thebigquery-json.googleapis.com
alias 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_link
fields tosnapshot_encryption_key
field ingoogle_compute_snapshot
(#2461) - compute: added
source_disk_encryption_key.kms_key_service_account
field togoogle_compute_snapshot
(#2461) - container: Added
self_link
to google_container_cluster (#2457)
BUG FIXES:
- bigquery: fixed a bug when a BigQuery table schema didn't have
name
in the schema. Previously it would panic; now it logs an error. (#2462) - bigquery: fixed bug where updating
clustering
would force a new resource rather than update. (#2459) - bigquerydatatransfer: fixed
params.secret_access_key
perma-diff for AWS S3 data transfer config types by adding asensitive_params
block with thesecret_access_key
attribute. (#2451) - compute: fixed bug where
delete_default_routes_on_create=true
was not actually deleting the default routes on create. (#2460
DEPRECATIONS:
- storage: deprecated
bucket_policy_only
field ingoogle_storage_bucket
in 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_manager
create 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_cluster
andgoogle_container_nodepool
(#2428) - notebooks: added
PD_BALANCED
as 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_project
to the provider that's associated as a billing/quota project with most requests whenuser_project_override
is true (#2427) - resourcemanager: added additional fields to
google_projects
datasource (#2440) - serviceusage: added project override support to
google_project_service
(#2428)
BUG FIXES:
- bigquerydatatransfer: fixed
params.secret_access_key
perma-diff for AWS S3 data transfer config types by adding asensitive_params
block with thesecret_access_key
attribute. (#2451) - compute: Fixed bug with
google_netblock_ip_ranges
data source failing to read from the correct URL (#2448) - compute: fixed updating
google_compute_instance.shielded_instance_config
by adding it to theallow_stopping_for_update
list (#2436) - notebooks: fixed broken
google_notebooks_instance.instance_owners
field 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_connector
field togoogle_app_engine_standard_app_version
resource (#2405) - bigquery: added
notification_pubsub_topic
field togoogle_bigquery_data_transfer_config
resource (#2411) - composer: added
database_config
andweb_server_config
togoogle_composer_environment
resource (#2419) - compute: Added custom metadata fields and filter expressions to
google_compute_subnetwork
flow log configuration (#2416) - compute: Added support to
google_compute_backend_service
for 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_config
andlinux_node_config
to 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_policy
togoogle_pubsub_subscription
resource (#2412)
BUG FIXES:
- compute: fixed an issue where
google_compute_url_map
path_matcher.default_route_action
would conflict withdefault_url_redirect
(#2406) - kms: updated
data_source_secret_manager_secret_version
to 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_amount
field togoogle_billing_budget
to 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_ordering
support togoogle_pubsub_subscription
(#2390) - sql: added project field to
google_sql_database_instance
datasource. (#2370) - storage: added
ARCHIVE
as an accepted class forgoogle_storage_bucket
andgoogle_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_member
would produce inconsistent results after apply. (#2397) - bigquery: fixed an issue with
use_legacy_sql
not being set tofalse
. (#2375) - cloudidentity: fixed a bug with importing
google_cloud_identity_group
andgoogle_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_check
to avoid permanent diff on plan/apply. (#2399) - dns: fixed an issue where
google_dns_managed_zone
would not removeprivate_visibility_config
on updates (#2380) - sql: fixed an issue where
google_sql_database_instance
would throw an error when removingprivate_network
. Removingprivate_network
now 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_services
to an enum array, which enhances docs and provides some client-side validation. (#2344) - billing_budget: Added support for
monitoring_notification_channels
to 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_function
datasource to include new fields available in the API. (#2334) - compute: added
source_image
andsource_snapshot
togoogle_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_type
field togoogle_service_account_key
(#2368) - memcached: added memcacheVersion input and memcacheNodes output field to
google_memcache_instance
(#2336) - pubsub: added
filter
field togoogle_pubsub_subscription
resource (#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
iap
to 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_slo
windows_based_sli.metric_sum_in_range.max
field (#2354) - osconfig: fixed
google_os_config_patch_deployment
windows_update.classifications
field to work correctly, accepting multiple values. (#2340)
NOTES:
- redis: explicitly noted in
google_redis_instance
documentation 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_function
datasource 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_identity
output field togoogle_redis_instance
(#2323) - storage: added output-only
media_link
togoogle_storage_bucket_object
(#2331)
BUG FIXES:
- compute: fixed issue where the
project
field indata.google_compute_network_endpoint_group
was returning an error when specified (#2324) - notebook: fixed bug where not setting
data_disk_type
ordisk_encryption
would 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_logging
ongoogle_compute_firewall
, definelog_config.metadata
to enable logging instead. (#2310)
FEATURES:
- New Resource:
google_active_directory_domain
(#2309) - New Resource:
google_dataflow_flex_template_job
(#2303)
IMPROVEMENTS:
- cloudrun: added
ports
field togoogle_cloud_run_service
templates.spec.containers
(#2311) - compute: added
log_config.metadata
togoogle_compute_firewall
, defining this will enable logging. (#2310)
BUG FIXES:
- container: Fixed a crash in
google_container_cluster
when""
was specified forresource_usage_export_config.bigquery_destination.dataset_id
. (#2296) - endpoints: Fixed a crash when
google_endpoints_service
is used on a machine without timezone data (#2302) - resourcemanager: bumped
google_project
timeout 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_status
field forgoogle_container_cluster
resource. (#2283) - filestore: Added
nfs_export_options
field ongoogle_filestore_instance.file_shares
. (#2289) - filestore: Added support for filestore high scale tier. (#2289)
- resourcemanager: Added
folder_id
as computed attribute togoogle_folder
resource and datasource. (#2287) - compute: Added support to
google_compute_backend_service
for setting a network endpoint group asbackend.group
. (#2304)
BUG FIXES:
- container: Fixed
google_container_cluster.pod_security_policy_config
not being set when disabled. - container: Fixed a crash in
google_container_cluster
when""
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
network
orsubnet
to 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
version
field to be settable ingoogle_data_fusion_instance
resource (#2268)
BUG FIXES:
- container: fixed a bug where
useIpAlias
was not defaulting to true inside theip_allocation_policy
block (#2260) - memcache: fixed field
memcache_parameters
to 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_name
togoogle_artifact_registry_repository
(#2254)
BUG FIXES:
- container: added the ability to update
database_encryption
without recreating the cluster. (#2259) - container: fixed a bug where useIpAlias was not defaulting to true inside the
ip_allocation_policy
block (#2260) - endpoints: fixed
google_endpoints_service
to allow dependent resources to plan based on theconfig_id
value. (#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-identity
scope to the provider by default (#2224) google_app_engine_*_version
'sservice
field 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_table
time partitioning (type
) (#2235) - compute: Added
mode
togoogle_compute_region_autoscaler
autoscaling_policy
(#2226) - compute: Added
scale_down_control
togoogle_compute_region_autoscaler
autoscaling_policy
(#2226) - container: added
networking_mode
togoogle_container_cluster
(#2243) - endpoints: enable
google_endpoints_service
-dependent resources to plan based on theconfig_id
value. (#2248) - monitoring: added
request_method
,content_type
, andbody
fields within thehttp_check
object togoogle_monitoring_uptime_check_config
resource (#2233)
BUG FIXES:
- compute: Fixed an issue in
google_compute_managed_ssl_certificate
where multiple fully qualified domain names would cause a permadiff (#2241) - compute: fixed an issue in
compute_url_map
wherepath_matcher
sub-fields would conflict withdefault_service
(#2247) - container: fixed an issue in
google_container_cluster
whereworkload_metadata_config
would 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_type
ingoogle_app_engine_application
(#2193) - compute: Added
mode
togoogle_compute_autoscaler
autoscaling_policy
(#2214) - compute: Added
remove_instance_state_on_destroy
togoogle_compute_per_instance_config
to control deletion of underlying instance state. (#2187) - compute: Added
remove_instance_state_on_destroy
togoogle_compute_region_per_instance_config
to control deletion of underlying instance state. (#2187) - compute: Added
scale_down_control
forgoogle_compute_autoscaler
autoscaling_policy
(#2214) - compute: Added SHARED_LOADBALANCER_VIP as an option for
google_compute_address.purpose
(#2204) - dns: enabled
google_dns_policy
to accept network id (#2189)
BUG FIXES:
- appengine: Added polling to
google_app_engine_firewall_rule
to prevent issues with eventually consistent creation (#2197) - compute: Allowed updating
google_compute_network_peering_routes_config
import_custom_routes
andexport_custom_routes
to false (#2190) - netblock: fixed the google netblock ranges returned by the
google_netblock_ip_ranges
by targeting json on gstatic domain instead of reading SPF dns records (solution provided by network team) (#2210)
IMPROVEMENTS:
- accesscontextmanager: Added
custom
config togoogle_access_context_manager_access_level
(#2180) - cloudbuild: Added
invert_regex
flag in Github PullRequestFilter and PushFilter in triggerTemplate (#2171) - cloudrun: Added
template.spec.timeout_seconds
togoogle_cloud_run_service
(#2164) - compute: Added
cpu_over_commit_type
togoogle_compute_node_template
(#2176) - compute: Added
min_node_cpus
to thescheduling
blocks oncompute_instance
andcompute_instance_template
(#2169) - compute: Added
export_subnet_routes_with_public_ip
andimport_subnet_routes_with_public_ip
togoogle_compute_network_peering
(#2170) - compute: Added
remove_instance_state_on_destroy
togoogle_compute_per_instance_config
to control deletion of underlying instance state. (#2187) - container: Added support for
private_cluster_config.master_global_access_config
togoogle_container_cluster
(#2157) - compute: Added support for
google_compute_instance_group
instances
to accept instance id field as well as self_link (#2161) - dns: Added support for
google_dns_policy
network to acceptgoogle_compute_network.id
(#2189) - redis: Added validation for name attribute in
redis_instance
(#2167)
BUG FIXES:
- bigquery: Fixed
range_partitioning.range.start
so that the value0
is sent ingoogle_bigquery_table
(#2153) - container: Fixed a regression in
google_container_cluster
where the location was not inferred when using asubnetwork
shortname value likename
(#2160) - datastore: Added retries to
google_datastore_index
requests when under contention. (#2154) - kms: Fixed the
id
value in thegoogle_kms_crypto_key_version
datasource to include a/v1
part 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_action
tocompute_url_map
andcompute_url_map.path_matchers
(#2143) - container : Added cluster_telemetry attribute to
google_container_cluster
(#2149) - dialogflow: Changed
google_dialogflow_agent.time_zone
to be updatable (#2133) - dns: enabled google_dns_managed_zone to accept network id for two attributes (#2139)
- healthcare: Added support for
streaming_configs
togoogle_healthcare_fhir_store
(#2145) - monitoring: added
matcher
attribute tocontent_matchers
block forgoogle_monitoring_uptime_check_config
(#2150)
BUG FIXES:
- compute: fixed issue where trying to update the region of
google_compute_subnetwork
would fail instead of destroying/recreating the subnetwork (#2134) - dataflow: added retries in
google_dataflow_job
for common retryable API errors when waiting for job to update (#2146) - dataflow: changed the update logic for
google_dataflow_job
to 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_services
toStandardAppVersion
resource (#2131) - bigquery: Added support for
google_bigquery_table
hive_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_job
would return "was present, but now absent" error after job creation (#2122) - container: Changed retry logic for
google_container_node_pool
deletion to use timeouts and retry errors more specifically when cluster is updating. (#2115) - dataflow: fixed an issue where
google_dataflow_job
would try to updatemax_workers
(#2110) - dataflow: fixed an issue where updating
on_delete
ingoogle_dataflow_job
would cause the job to be replaced (#2110) - compute: fixed issue where removing all target pools from
google_compute_instance_group_manager
orgoogle_compute_region_instance_group_manager
had no effect (#2124) - functions: Added retry to
google_cloudfunctions_function
creation 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
handlers
togoogle_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_config
togoogle_container_node_pool
(#2091)
BUG FIXES:
- appengine: added ability to fully sync
StandardAppVersion
resources (#2096) - bigquery: Fixed an issue with
google_bigquery_dataset_access
failing for primitive roleroles/bigquery.dataViewer
(#2092) - dataflow: fixed an issue where
google_dataflow_job
would try to updatemax_workers
(#2110) - dataflow: fixed an issue where updating
on_delete
ingoogle_dataflow_job
would cause the job to be replaced (#2110) - os_login: Fixed
google_os_login_ssh_public_key
key
field attempting to update in-place (#2094)
BREAKING CHANGES:
- The base url for the
monitoring
endpoint 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_id
fields (and onedataset_id
field) ingoogle_bigquery_job
to specify a relative path instead of just the table id (#2079) - composer: Added support for
google_composer_environment
config.private_environment_config.cloud_sql_ipv4_cidr_block
(#2075) - composer: Added support for
google_composer_environment
config.private_environment_config.web_server_ipv4_cidr_block
(#2075) - composer: Added support for
google_composer_environment
web_server_network_access_control
for private environments (#2075) - container: Added update support for
node_config.workload_metadata_config
togoogle_container_node_pool
(#2091) - container: Added
min_cpu_platform
to google_container_cluster.cluster_autoscaling.auto_provisioning_defaults (#2086) - container: Added
release_channel_default_version
todata.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_version
field (#2068) - container: Added update support to
google_container_cluster
'srelease_channel
field (#2068) - container: Added
config_connector_config
google_container_cluster
(#2064) - monitoring: Added window-based SLI to
google_monitoring_slo
(#2070)
BUG FIXES:
- compute: Fixed an issue where
google_compute_route
creation failed while VPC peering was in progress. (#2082) - Fixed an issue where data source
google_organization
would ignore exact domain matches if multiple domains were found (#2085) - compute: Fixed
google_compute_interconnect_attachment
edge_availability_domain
diff when the field is unspecified (#2084) - compute: Fixed error where plan would error if
google_compute_region_disk_resource_policy_attachment
had been deleted outside of terraform. (#2065) - compute: Raise limit on number of
src_ip_ranges
values ingoogle_compute_security_policy
to supported 10 (#2076) - iam: Fixed an issue where
google_service_account
shows an error after creating the resource (#2074)
BREAKING CHANGE:
google_bigtable_instance
resources now cannot be destroyed unlessdeletion_protection = false
is 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_protection
field togoogle_bigtable_instance
to make deleting them require an explicit intent. (#2061) - compute: Added
google_compute_region_backend_service
portName
parameter (#2048) - dataproc: Updated
google_dataproc_cluster.software_config.optional_components
to include new options. (#2049) - monitoring: Added
request_based
SLI support togoogle_monitoring_slo
(#2058) - storage: added
google_storage_bucket
bucket 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_access
resources could not be found post-creation if role was set to a predefined IAM role with an equivalent primative role (e.g.roles/bigquery.dataOwner
andOWNER
) (#2039) - compute: Fixed permadiff in
google_compute_instance_template
'snetwork_tier
. (#2054) - compute: Removed permadiff or errors on update for
google_compute_backend_service
andgoogle_compute_region_backend_service
whenconsistent_hash
values 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_instance
andgoogle_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_name
field togoogle_bigquery_data_transfer_config
resource (#2004) - cloudfunctions: Added validation to label keys for
google_cloudfunctions_function
as API errors aren't useful. (#2009) - compute: Added support for
stateful_disk
to bothgoogle_compute_instance_group_manager
andgoogle_compute_region_instance_group_manager
. (#2006) - container: added
kalm_config
addon togoogle_container_cluster
(#2027) - dataflow: Added drift detection for
google_dataflow_job
template_gcs_path
andtemp_gcs_location
fields (#2021) - dataflow: Added support for update-by-replacement to
google_dataflow_job
(#2021) - dataflow: added
additional_experiments
field 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_lock
to true forgoogle_access_context_manager_access_level
(#2010) - appengine: Changed
google_app_engine_application
to respect updates iniap
(#2000) - bigquery: Fixed error where
google_bigquery_dataset_access
resources could not be found post-creation if role was set to a predefined IAM role with an equivalent primative role (e.g.roles/bigquery.dataOwner
andOWNER
) (#2039) - bigquery: Fixed the
google_sheets_options
at 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_route
from changing while peering operations are happening on its network (#2016) - compute: Stopped force-recreation of
google_compute_backend_service
andgoogle_compute_backend_service
on updatinglocality_lb_policy
(#2012) - compute: fixed issue where the default value for the attribute
advertise_mode
ongoogle_compte_router_peer
was not populated on import (#2024) - container: Fixed occasional error with
container_node_pool
partially-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_object
metadata on API object (#2025) - storage: Marked the credentials field in
google_storage_object_signed_url
as 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_scaling
togoogle_app_engine_standard_app_version
(#1984) - bigquery: added
service_account_name
field togoogle_bigquery_data_transfer_config
resource (#2004) - bigtable: added ability to add/remove column families in
google_bigtable_table
(#1988) - cloudfunctions: Added validation to label keys for
google_cloudfunctions_function
as API errors aren't useful. (#2009) - compute: Added support for
stateful_disk
to bothgoogle_compute_instance_group_manager
andgoogle_compute_region_instance_group_manager
. (#2006) - compute: Added support for default URL redirects to
google_compute_url_map
andgoogle_compute_region_url_map
(#1998) - dataflow: Added
additional_experiments
field togoogle_dataflow_job
(#2005) - dns: Added
service_directory_config
field togoogle_dns_managed_zone
(#1976) - compute: Added update of
google_compute_backend_service
andgoogle_compute_backend_service
field `locality_lb_policy (#2012)
BUG FIXES:
- accesscontextmanager: Fixed setting
require_screen_lock
to true forgoogle_access_context_manager_access_level
(#2010) - appengine: Changed
google_app_engine_application
to 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_instace
resource from 3 to 1. (#1968) - container: Added support for
google_container_cluster
Compute Engine persistent disk CSI driver (#1969) - compute: Added support for
google_compute_instance
resource_policies
field (#1957) - compute: Added support for
google_compute_resource_policy
group placement policies (#1957) - healthcare: Added
schema
field togoogle_healthcare_hl7_v2_store
(#1962)
BUG FIXES:
- dataproc: Fixed diff when
google_dataproc_cluster
preemptible_worker_config.0.num_instances
is sized to 0 and otherpreemptible_worker_config
subfields are set (#1954) - resourcemanager: added a wait to
google_project
so that projects are more likely to be ready before the resource finishes creation (#1970) - sql: Allowed
binary_log_enabled
to be disabled. (#1973) - sql: Fixed behaviour in
google_sql_database
when 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.enabled
field togoogle_app_engine_application
resource (#1943) - iam: Added
name
field togoogle_organization_iam_custom_role
(#1951) - iam: Added
name
field togoogle_project_iam_custom_role
(#1951)
BUG FIXES:
- container: Fixed importing/reading
google_container_node_pool
resources in non-RUNNING states (#1952) - container: Made
addons_config.cloudrun_config
able to be updated without recreating and destroying. (#1942) - container: Made
addons_config.dns_cache_config
able to be updated without recreating and destroying. (#1942) - monitoring: Made
display_name
optional 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
spec
anduse_explicit_dry_run_spec
togoogle_access_context_manager_service_perimeter
to test perimeter configurations in dry-run mode. (#1940) - compute: Added update support for
google_compute_interconnect_attachment
admin_enabled
(#1931) - compute: Added field
log_config
togoogle_compute_health_check
andgoogle_compute_region_health_check
to enable health check logging. (#1934) - compute: Added more import formats for
google_compute_instance
(#1933) - sourcerepo: allowed
google_sourcerepo_repo
pubsub_configs.topic
to accept short topic names in addition to full references. (#1938)
BUG FIXES:
- compute: Fixed diff on default value for
google_compute_interconnect_attachment
admin_enabled
(#1931) - compute: Fixed perma-diff on
google_compute_interconnect_attachment
candidate_subnets
(#1931) - compute: fixed bug where
google_compute_instance_from_template
instance defaults were overridingscheduling
(#1939) - iap:
project
can now be unset iniap_web_iam_member
and will read from the defaultproject
(#1935) - serviceusage: fixed issue where
google_project_services
attempted to read a project before enabling the API that allows that read (#1937) - sql: fixed error that occurred on
google_sql_database_instance
whensettings.ip_configuration
was set butipv4_enabled
was not set to true andprivate_network
was not configured, by defaultingipv4_enabled
to true. (#1926) - storage: fixed bug where deleting a
google_storage_bucket
that 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_settings
field togoogle_cloudfunctions_function
(#1898) - cloudfunctions: added support for
vpc_connector_egress_settings
togoogle_cloudfunctions_function
(#1904) - accesscontextmanager: added
status.vpc_accessible_services
togoogle_access_context_manager_service_perimeter
to 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_metering
toresource_usage_export_config
ingoogle_container_cluster
(#1901) - dns: added ability to update
google_dns_managed_zone.dnssec_config
(#1914) - pubsub: Added
dead_letter_policy
support togoogle_pubsub_subscription
(#1913)
BUG FIXES:
- compute: Fixed an issue where
port
could not be removed from health checks (#1906) - storage: fixed an issue where
google_storage_bucket_iam_member
showed 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
regions
field 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_version
wherepublic_key
would return empty after apply (#1879) - logging: Fixed import issue with
google_logging_metric
in 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_status
to thegoogle_compute_instance
resource (#1857) - container: Added
dns_cache_config
field togoogle_container_cluster
resource (#1853) - container: Updated
upgrade_settings
to read defaults from API for thegoogle_container_node_pool
resource (#1859) - provider: Added provider-wide request retries for common temporary GCP error codes and network errors (#1856)
- redis: Added
connect_mode
field togoogle_redis_instance
resource (#1854)
BREAKING CHANGES:
- dialogflow: Changed
google_dialogflow_agent.time_zone
to 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_name
value ingoogle_bigtable_table
andgoogle_bigtable_gc_policy
(#1830) - compute: Added
autoscaling_policy
togoogle_compute_node_group
(#1841) - compute: Added support for full-name/id
network_endpoint_group
value ingoogle_network_endpoint
(#1831) - dialogflow: Changed
google_dialogflow_agent
to not readtier
status (#1829) - monitoring: Added
sensitive_labels
togoogle_monitoring_notification_channel
so that labels likepassword
andauth_token
can 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_connector
to be updated properly ingoogle_cloudfunctions_function
(#1825) - compute: fixed
google_compute_security_policy
from allowing two rules with the same priority. (#1828) - compute: fixed bug where
google_compute_instance.scheduling.node_affinities.operator
would incorrectly acceptNOT
rather thanNOT_IN
. (#1835) - container: Fixed issue where
google_container_node_pool
resources created in the 2.X series were failing to update after 3.11. (#1846)
IMPROVEMENTS:
- serviceusage:
google_project_service
no longer attempts to enable a service that is already enabled. (#1814) - bigtable: Added support for full-name/id
instance
value 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_template
would cause a crash. (#1812) - storage: Added check for bucket retention policy list being empty. (#1807)
- storage: Added locking for operations involving
google_storage_*_access_control
resources to prevent errors from ACLs being added at the same time. (#1806) - container: Fixed panic when upgrading
google_container_cluster
with 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_router
for 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_instance
resources with thedesired_status
field (#1786) - iam:
google_project_iam_member
andgoogle_project_iam_binding
'sproject
field can be specified with an optionalprojects/
prefix (#1780) - storage: added
metadata
togoogle_storage_bucket_object
. (#1779)
BUG FIXES:
- compute: Updated
google_project
to check for valid permissions on the parent billing account before creating and tainting the resource. (#1777) - container: Fixed panic when upgrading
google_container_cluster
withautoscaling
block (#1766)
BREAKING CHANGES:
- container: Fully removed
use_ip_aliases
andcreate_subnetwork
fields 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_cluster
in error states (#1759) - container: Changed
google_container_node_pool
so node pools created in an error state will be marked as tainted on creation. (#1758) - container: Allowed import/update/deletion of
google_container_node_pool
in 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_id
field togoogle_dataflow_job
(#1754) - dataflow: added computed
type
field togoogle_dataflow_job
. (#1771) - healthcare: added
version
field 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_name
andinstance_type
(#1751) - container:
google_container_cluster
will wait for a stable state after updates. (#1737) - container: added support for
autoscaling_profile
togoogle_container_cluster
(#1756) - container: added
boot_disk_kms_key
tonode_config
block. (#1736) - dataflow: added
job_id
field 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_name
togoogle_sql_database_instance
(#1724)
BUG FIXES:
- cloudrun: fixed permadiff caused by new API default values on
annotations
andlimits
(#1727) - container: Removed restriction on
auto_provisioning_defaults
to allow bothoauth_scopes
andservice_account
to be set (#1748) - firestore: fixed import of
google_firestore_index
when 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_version
datasource would throw an Invalid Index error on plan (#1740)
NOTES:
- provider: added documentation for the
id
field for many resources, including format (#1697) BREAKING CHANGES: - compute: Added conditional requirement of
google_compute_**region**_backend_service
backend.capacity_scaler
to no longer accept the API default if not INTERNAL. Non-INTERNAL backend services must now specifycapacity_scaler
explicitly 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_policy
rule.match.expr
field is now GA (#1692) - compute: added additional validation to
google_cloud_router
'sbgp.asn
field. (#1699)
BUG FIXES:
- bigtable: fixed diff for DEVELOPMENT instances that are returned from the API with one node (#1704)
- compute: Fixed
backend.capacity_scaler
to actually set zero (0.0) value. (#1707) - compute: Fixed
google_compute_**region**_backend_service
so it no longer has a permadiff ifbackend.capacity_scaler
is unset in config by requiring capacity scaler. (#1707) - compute: updated
google_compute_project_metadata_item
to fail on create if its key is already present in the project metadata. (#1714) - logging: updated
bigquery_options
so 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_zone
added support for Non-RFC1918 fields for reverse lookup and fowarding paths. (#1685) - monitoring: Added
labels
anduser_labels
filters 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_template
added plan time check for any disks markedboot
outside of the first disk (#1684) - container: Fixed perma-diff in
google_container_cluster
'scluster_autoscaling.auto_provisioning_defaults
. (#1679) - logging: updated
bigquery_options
so the default value from the api will be set in state. (#1694) - storage: Stopped
project-owner
showing 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 hashicorp/terraform-provider-google#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_attachment
to avoid modifications when the attachment is UNPROVISIONED (#1664) - compute: made the
google_compute_network_peering
routes fields available in GA (#1650) - datafusion: Added
service_account
field 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
description
field ofgoogle_service_account
. It is now limited to 256 characters. (#1646) - scheduler: Added
attempt_deadline
togoogle_cloud_scheduler_job
. (#1639) - storage: added
default_event_based_hold
togoogle_storage_bucket
(#1626)
BUG FIXES:
- compute: Fixed
google_compute_instance_from_template
with existing boot disks (#1655) - compute: Fixed a bug in
google_compute_instance
when attempting to update a field that requires stopping and starting an instance with an encrypted disk (#1658)
DEPRECATIONS:
- kms: deprecated
data.google_kms_secret_ciphertext
as there was no way to make it idempotent. Instead, use thegoogle_kms_secret_ciphertext
resource. (#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
target
togoogle_compute_forwarding_rule
(#1630) - dataproc: added
lifecycle_config
togoogle_dataproc_cluster.cluster_config
(#1593) - iam: updated to allow for empty bindings in
data_source_google_iam_policy
data source (#1173) - provider: added retries for batched requests so failed batches will retry each single request separately. (#1615)
- resourcemanager: restricted the length of the
description
field 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_function
name to allow for 63 characters. (#1640) - cloudtasks: Changed
max_dispatches_per_second
to a double instead of an integer. (#1633) - compute: Added validation for
compute_resource_policy
to no longer allow invalidstart_time
values that weren't hourly. (#1603) - compute: Fixed errors from concurrent creation/deletion of overlapping
google_compute_network_peering
resources. (#1601) - compute: Stopped panic when using
usage_export_bucket
and the setting had been disabled manually. (#1610) - compute: fixed
google_compute_router_nat
timeout fields causing a diff when using a long-lived resource (#1613) - compute: fixed
google_compute_target_https_proxy.quic_override
causing a diff when using a long-lived resource (#1611) - identityplatform: fixed
google_identity_platform_default_supported_idp_config
to correctly allow configuration of bothidp_id
andclient_id
separately (#1638) - monitoring: Stopped
labels
from causing a perma diff onAlertPolicy
(#1622)
DEPRECATIONS:
- kms: deprecated
data.google_kms_secret_ciphertext
as there was no way to make it idempotent. Instead, use thegoogle_kms_secret_ciphertext
resource. (#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_mapping
to 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.labels
from 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_cluster
create 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_attachment
parsing 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_after
controlling 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_configuration
to correctly recreate the table when modified (#1591) - cloudrun: Changed
google_cloud_run_domain_mapping
to 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_mapping
to poll for success or failure and throw an appropriate error when ready status returns as false. (#1564) - cloudrun: Fixed
google_cloudrun_service
to allow update instead of force-recreation for changes inspec
env
andcommand
fields (#1566) - cloudrun: Removed unsupported update for
google_cloud_run_domain_mapping
to allow force-recreation. (#1556) - cloudrun: Stopped returning an error when a
cloud_run_domain_mapping
was waiting on DNS verification. (#1587) - compute: Fixed
google_compute_backend_service
to allow updatingcdn_policy.cache_key_policy.*
fields to false or empty. (#1569) - compute: Fixed behaviour where
google_compute_subnetwork
did not record a value forname
whenself_link
was specified. (#1579) - container: fixed issue where an empty variable in
tags
would cause a crash (#1543) - endpoints: Added operation wait for
google_endpoints_service
to fix 403 "Service not found" errors during initial creation (#1560) - logging: Made
google_logging_metric.metric_descriptors.labels
a set to prevent diff from ordering (#1559) - resourcemanager: added retries for
data.google_organization
(#1553) - vpcaccess: marked
network
field 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_check
is now available in GA (#1507) - New Resource:
google_deployment_manager_deployment
(#1498)
IMPROVEMENTS:
- bigquery: added
PARQUET
as an option ingoogle_bigquery_table.external_data_configuration.source_format
(#1514) - compute: Added
allow_global_access
for togoogle_compute_forwarding_rule
resource. (#1511) - compute: added support for up to 100 domains on
google_compute_managed_ssl_certificate
(#1519) - dataproc: added support for
security_config
togoogle_dataproc_cluster
(#1492) - storage: added support for IAM Conditions to the
google_storage_bucket_iam_*
resources (beta provider only) (#1479) - storage: updated
id
andbucket
fields 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_check
to 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_policy
to 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_instance
with the name of a previously deleted instance (#1500)
DEPRECATIONS:
- compute: deprecated
fingerprint
field 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_service
IAM resources:google_cloud_run_service_iam_policy
,google_cloud_run_service_iam_binding
,google_cloud_run_service_iam_member
(#1456)
IMPROVEMENTS:
- all: Added
synchronous_timeout
to provider block to allow setting higher per-operation-poll timeouts. (#1449) - bigquery: Added KMS support to
google_bigquery_table
(#1471) - cloudresourcemanager: Added
org_id
field togoogle_organization
datasource to expose the raw organization id (#1485) - cloudrun: Stopped requiring the root
metadata
block forgoogle_cloud_run_service
. (#1478) - compute: added support for
expr
togoogle_compute_security_policy.rule.match
(#1465) - compute: added support for
path_rules
togoogle_compute_region_url_map
(#1489) - compute: added support for
path_rules
togoogle_compute_url_map
(#1483) - compute: added support for
route_rules
togoogle_compute_region_url_map
(#1493) - compute: added support for header actions and route rules to
google_compute_url_map
(#1435) - dns: Added
visibility
field togoogle_dns_managed_zone
data source (#1462) - sourcerepo: added support for
pubsub_configs
togoogle_sourcerepo_repository
(#1455)
BUG FIXES:
- dns: fixed 503s caused by high numbers of
dns_record_set
s. (#1477) - logging: updated
exponential_buckets.growth_factor
from 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_address
ingoogle_compute_router_peer
is 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_approval
andrequire_corp_owned
ingoogle_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_folder
in 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_disk
disk_encryption_key.raw_key
is now sensitive (#1445) - compute:
google_compute_disk
source_image_encryption_key.raw_key
is now sensitive (#1452) - compute:
google_compute_network_peering
resource can now be imported (#1439) - compute: computed attribute
management_type
ingoogle_compute_router_peer
is now available. (#1396) - compute: field
network
can 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_name
ingoogle_container_cluster.private_cluster_config
. (#1438) - container: added
auto_provisioning_defaults
togoogle_container_cluster.cluster_autoscaling
(#1434) - container: added
upgrade_settings
support togoogle_container_node_pool
(#1400) - container: increased timeouts on
google_container_cluster
andgoogle_container_node_pool
(#1386) - datafusion: Added
private_instance
andnetwork_config
fields togoogle_data_fusion_instance
(#1411) - kms: enabled use of
user_project_override
for thekms_crypto_key
resource (#1422) - kms: enabled use of
user_project_override
for thekms_secret_ciphertext
data source (#1433) - sql: added
root_password
field togoogle_sql_database_instance
resource (#1432)
BUG FIXES:
- bigquery: fixed an issue where bigquery table id formats from the
2.X
series caused an error at plan time (#1448) - cloudbuild: Fixed incorrect dependency between
trigger_template
andgithub
ingoogle_cloud_build_trigger
. (#1410) - cloudfunctions: Fixed inability to set
google_cloud_functions_function
update timeout. (#1447) - cloudrun: Wait for the cloudrun resource to reach a ready state before returning success. (#1409)
- compute:
google_compute_disk
disk_encryption_key.raw_key
is now sensitive (#1453) - compute:
self_link
in several datasources will now error on invalid values instead of crashing (#1373) - compute: field
advertised_ip_ranges
ingoogle_compute_router_peer
can now be updated without recreating the resource. (#1396) - compute: marked
min_cpu_platform
ongoogle_compute_instance
as computed so if it is not specified it will not cause diffs (#1429) - dataproc: Changed default for
google_dataproc_autoscaling_policy
secondary_worker_config.min_instances
from 2 to 0. (#1408) - dns: Fixed issue causing
google_dns_record_set
deletion 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_user
create 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_service
to 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_manager
andgoogle_compute_region_instance_group_manager
that created an artificial diff when removing a now-removed field from a config (#1401) - dns: Fixed bug causing
google_dns_managed_zone
datasource 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_type
required 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_type
required ongoogle_app_engine_domain_mapping.ssl_settings
MM#2608 - app_engine: Made
shell
required ongoogle_app_engine_standard_app_version.entrypoint
. MM#2608 - app_engine: Made
source_url
required ongoogle_app_engine_standard_app_version.deployment.files
andgoogle_app_engine_standard_app_version.deployment.zip
. MM#2608 - app_engine: Made
split_health_checks
required ongoogle_app_engine_application.feature_settings
MM#2608 - app_engine: Made
script_path
required ongoogle_app_engine_standard_app_version.handlers.script
. MM#2665 - bigtable: Made
cluster_id
required ongoogle_bigtable_app_profile.single_cluster_routing
. MM#2608 - bigquery: Made at least one of
range
orskip_leading_rows
required ongoogle_bigquery_table.external_data_configuration.google_sheets_options
. MM#2608 - bigquery: Made
role
required ongoogle_bigquery_dataset.access
. MM#2665 - bigtable: Made exactly one of
single_cluster_routing
ormulti_cluster_routing_use_any
required ongoogle_bigtable_app_profile
. MM#2665 - binary_authorization: Made
name_pattern
required ongoogle_binary_authorization_policy.admission_whitelist_patterns
. MM#2665 - binary_authorization: Made
evaluation_mode
andenforcement_mode
required 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
branch
required ongoogle_cloudbuild_trigger.github
. MM#2608 - cloudbuild: Made
steps
required ongoogle_cloudbuild_trigger.build
. MM#2608 - cloudbuild: Made
name
required ongoogle_cloudbuild_trigger.build.steps
. MM#2608 - cloudbuild: Made
name
andpath
required ongoogle_cloudbuild_trigger.build.steps.volumes
. MM#2608 - cloudbuild: Made exactly one of
filename
orbuild
required ongoogle_cloudbuild_trigger
. MM#2665 - cloudfunctions: deprecated
nodejs6
as option forruntime
infunction
and made it required. MM#2499 - cloudscheduler: Made exactly one of
pubsub_target
,http_target
orapp_engine_http_target
required ongoogle_cloudscheduler_job
. MM#2665 - cloudiot: removed
event_notification_config
(singular) fromgoogle_cloudiot_registry
. Use pluralevent_notification_configs
instead. MM#2390 - cloudiot: Made
public_key_certificate
required ongoogle_cloudiot_registry. credentials
. MM#2608 - cloudscheduler: Made
service_account_email
required ongoogle_cloudscheduler_job.http_target.oauth_token
andgoogle_cloudscheduler_job.http_target.oidc_token
. MM#2608 - composer: Made at least one of
airflow_config_overrides
,pypi_packages
,env_variables,
image_version, or
python_versionrequired on
google_composer_environment.config.software_config`. MM#2608 - composer: Made
use_ip_aliases
required ongoogle_composer_environment.config.node_config.ip_allocation_policy
. MM#2608 - composer: Made
enable_private_endpoint
required ongoogle_composer_environment.config.private_environment_config
. MM#2608 - composer: Made at least one of
enable_private_endpoint
ormaster_ipv4_cidr_block
required ongoogle_composer_environment.config.private_environment_config
MM#2682 - composer: Made at least one of
node_count
,node_config
,software_config
orprivate_environment_config
required ongoogle_composer_environment.config
MM#2682 - compute:
google_compute_backend_service
'sbackend
field field now requires thegroup
subfield to be set. MM#2373 - compute: permanently removed
ip_version
field fromgoogle_compute_forwarding_rule
MM#2436 - compute: permanently removed
ipv4_range
field fromgoogle_compute_network
. MM#2436 - compute: permanently removed
auto_create_routes
field fromgoogle_compute_network_peering
. MM#2436 - compute: added check to only allow
google_compute_instance_template
s with 375gb scratch disks MM#2495 - compute: made
google_compute_instance_template
fail at plan time when scratch disks do not havedisk_type
"local-ssd"
. MM#2282 - compute: removed
enable_flow_logs
field fromgoogle_compute_subnetwork
. This is now controlled by the presence of thelog_config
block MM#2597 - compute: Made
raw_key
required 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
,mode
orsource
required ongoogle_compute_instance.boot_disk
. MM#2608 - compute: Made at least one of
size
,type
,image
, orlabels
required ongoogle_compute_instance.boot_disk.initialize_params
. MM#2608 - compute: Made at least one of
enable_secure_boot
,enable_vtpm
, orenable_integrity_monitoring
required ongoogle_compute_instance.shielded_instance_config
. MM#2608 - compute: Made at least one of
on_host_maintenance
,automatic_restart
,preemptible
, ornode_affinities
required ongoogle_compute_instance.scheduling
. MM#2608 - compute: Made
interface
required ongoogle_compute_instance.scratch_disk
. MM#2608 - compute: Made at least one of
enable_secure_boot
,enable_vtpm
, orenable_integrity_monitoring
required ongoogle_compute_instance_template.shielded_instance_config
. MM#2608 - compute: Made at least one of
on_host_maintenance
,automatic_restart
,preemptible
, ornode_affinities
are now required ongoogle_compute_instance_template.scheduling
. MM#2608 - compute: Made
kms_key_self_link
required ongoogle_compute_instance_template.disk.disk_encryption_key
. MM#2608 - compute: Made
range
required ongoogle_compute_router_peer. advertised_ip_ranges
. MM#2608 - compute: Removed
instance_template
forgoogle_compute_instance_group_manager
andgoogle_compute_region_instance_group_manager
. Useversion.instance_template
instead. MM#2595 - compute: removed
update_strategy
forgoogle_compute_instance_group_manager
. Useupdate_policy
instead. MM#2595 - compute: stopped allowing selfLink or path style references as IP addresses for
google_compute_forwarding_rule
orgoogle_compute_global_forwarding_rule
MM#2620 - compute: permanently removed
update_strategy
field fromgoogle_compute_region_instance_group_manager
. MM#2436 - compute: Made exactly one of
http_health_check
,https_health_check
,http2_health_check
,tcp_health_check
orssl_health_check
required ongoogle_compute_health_check
. MM#2665 - compute: Made exactly one of
http_health_check
,https_health_check
,http2_health_check
,tcp_health_check
orssl_health_check
required ongoogle_compute_region_health_check
. MM#2665 - container: permanently removed
zone
andregion
fields from data sourcegoogle_container_engine_versions
. MM#2436 - container: permanently removed
zone
,region
andadditional_zones
fields fromgoogle_container_cluster
. MM#2436 - container: permanently removed
zone
andregion
fields fromgoogle_container_node_pool
. MM#2436 - container: set
google_container_cluster
'slogging_service
andmonitoring_service
defaults to enable GKE Stackdriver Monitoring. MM#2471 - container: removed
kubernetes_dashboard
fromgoogle_container_cluster.addons_config
MM#2551 - container: removed automatic suppression of GPU taints in GKE
taint
MM#2537 - container: Made
disabled
required 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_config
required ongoogle_container_cluster.addons_config
. MM#2608 - container: Made
enabled
required ongoogle_container_cluster.network_policy
. MM#2608 - container: Made
enable_private_endpoint
required ongoogle_container_cluster.private_cluster_config
. MM#2608 - container: Made
enabled
required ongoogle_container_cluster.vertical_pod_autoscaling
. MM#2608 - container: Made
cidr_blocks
required ongoogle_container_cluster.master_authorized_networks_config
. MM#2608 - container: Made at least one of
username
,password
orclient_certificate_config
required ongoogle_container_cluster.master_auth
. MM#2608 - container: Made exactly one of
daily_maintenance_window
orrecurring_window
required ongoogle_container_cluster.maintenance_policy
MM#2682 - container: removed
google_container_cluster
ip_allocation_policy.use_ip_aliases
. If it's set to true, remove it from your config. If false, removeip_allocation_policy
as a whole. MM#2615 - container: removed
google_container_cluster
ip_allocation_policy.create_subnetwork
,ip_allocation_policy.subnetwork_name
,ip_allocation_policy.node_ipv4_cidr_block
. Define an explicitgoogle_compute_subnetwork
and usesubnetwork
instead. MM#2615 - container: Made
channel
required 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_action
orencryption_config
required ongoogle_dataproc_cluster.cluster_config
. MM#2608 - dataproc: Made at least one of
zone
,network
,subnetwork
,tags
,service_account
,service_account_scopes
,internal_ip_only
ormetadata
required 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
, oraccelerators
required ongoogle_dataproc_cluster.cluster_config.master_config
andgoogle_dataproc_cluster.cluster_config.worker_config
. MM#2608 - dataproc: Made at least one of
num_local_ssds
,boot_disk_size_gb
orboot_disk_type
required ongoogle_dataproc_cluster.cluster_config.preemptible_worker_config.disk_config
,google_dataproc_cluster.cluster_config.master_config.disk_config
andgoogle_dataproc_cluster.cluster_config.worker_config.disk_config
. MM#2608 - dataproc: Made at least one of
num_instances
ordisk_config
required ongoogle_dataproc_cluster.cluster_config.preemptible_worker_config
. MM#2608 - dataproc: Made at least one of
image_version
,override_properties
oroptional_components
is now required ongoogle_dataproc_cluster.cluster_config.software_config
. MM#2608 - dataproc: Made
policy_uri
required ongoogle_dataproc_cluster.cluster_config.autoscaling_config
. MM#2608 - dataproc: Made
max_failures_per_hour
required ongoogle_dataproc_job.scheduling
. MM#2608 - dataproc: Made
driver_log_levels
required 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_class
ormain_jar_file_uri
required ongoogle_dataproc_job.spark_config
andgoogle_dataproc_job.hadoop_config
. MM#2608 - dataproc: Made at least one of
query_file_uri
orquery_list
required ongoogle_dataproc_job.hive_config
,google_dataproc_job.pig_config
, andgoogle_dataproc_job.sparksql_config
. MM#2608 - dns: Made
networks
required ongoogle_dns_managed_zone.private_visibility_config
. MM#2608 - dns: Made
network_url
required ongoogle_dns_managed_zone.private_visibility_config.networks
. MM#2608 - iam: made
iam_audit_config
resources 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_policy
required ongoogle_organization_policy
. MM#2608 - iam: Made exactly one of
all
orvalues
required ongoogle_organization_policy.list_policy.allow
andgoogle_organization_policy.list_policy.deny
. MM#2608 - iam:
google_project_iam_policy
can handle theproject
field in either of the following forms:project-id
orprojects/project-id
MM#2700 - iam: Made exactly one of
allow
ordeny
required ongoogle_organization_policy.list_policy
MM#2682 - iam: removed the deprecated
pgp_key
,private_key_encrypted
andprivate_key_fingerprint
fromgoogle_service_account_key
MM#2680 - monitoring: permanently removed
is_internal
andinternal_checkers
fields fromgoogle_monitoring_uptime_check_config
. MM#2436 - monitoring: permanently removed
labels
field fromgoogle_monitoring_alert_policy
. MM#2436 - monitoring: Made
content
required ongoogle_monitoring_uptime_check_config.content_matchers
. MM#2608 - monitoring: Made exactly one of
http_check
ortcp_check
is now required ongoogle_monitoring_uptime_check_config
. MM#2665 - monitoring: Made at least one of
auth_info
,port
,headers
,path
,use_ssl
, ormask_headers
is now required ongoogle_monitoring_uptime_check_config.http_check
MM#2665 - provider: added the
https://www.googleapis.com/auth/userinfo.email
scope 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
).name
now must be the shortname (e.g.my-subscription
) MM#2561 - resourcemanager: converted
google_folder_organization_policy
andgoogle_organization_policy
import format to use slashes instead of colons. MM#2638 - serviceusage: removed
google_project_services
MM#2403 - serviceusage: stopped accepting
bigquery-json.googleapis.com
ingoogle_project_service
. Specifybiquery.googleapis.com
instead. MM#2626 - sql: Made
name
andvalue
required ongoogle_sql_database_instance.settings.database_flags
. MM#2608 - sql: Made at least one of
binary_log_enabled
,enabled
,start_time
, andlocation
required ongoogle_sql_database_instance.settings.backup_configuration
. MM#2608 - sql: Made at least one of
authorized_networks
,ipv4_enabled
,require_ssl
, andprivate_network
required ongoogle_sql_database_instance.settings.ip_configuration
. MM#2608 - sql: Made at least one of
day
,hour
, andupdate_track
required ongoogle_sql_database_instance.settings.maintenance_window
. MM#2608 - sql: Made at least one of
cert
,common_name
,create_time
,expiration_time
, orsha1_fingerprint
required 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_certificate
required ongoogle_sql_database_instance.settings.replica_configuration
. MM#2608 - sql: Made
value
required ongoogle_sql_database_instance.settings.ip_configuration.authorized_networks
. MM#2608 - storage: permanently removed
is_live
flag fromgoogle_storage_bucket
. MM#2436 - storage: Made at least one of
main_page_suffix
ornot_found_page
required 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_prefixes
required 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_transfer
required 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_source
required ongoogle_storage_transfer_job.transfer_options
. MM#2608
NOTES:
2.20.3
is a backport release, and some changes will not appear in3.X
series releases until3.12.0
. To upgrade to3.X
you will need to perform a large jump in versions, and it is strongly advised that you attempt to upgrade to3.X
instead of using this release.2.20.3
is 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_template
resources withnetwork_interface[*].name
set. (#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.group
field 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_scheme
forgoogle_compute_forwarding_rule
now acceptsINTERNAL_MANAGED
as 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_service
to 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
id
for many IAM resources to the reference resource long name. Updatedinstance_name
ongoogle_compute_instance_iam
andsubnetwork
ongoogle_compute_subnetwork
to 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_name
field togoogle_logging_metric
resource (#1344) - monitoring: Added
validate_ssl
togoogle_monitoring_uptime_check_config
(#1243) - project: added batching functionality to
google_project_service
read 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_replicas
ingoogle_compute_autoscaler
andgoogle_compute_region_autoscaler
would set that field to its server-side default instead of 0. (#1351) - dns: fixed crash when
network
blocks are defined withoutnetwork_url
s (#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_logs
ongoogle_compute_subnetwork
. The presence of thelog_config
block signals that flow logs are enabled for a subnetwork (#1320)compute
: deprecatedinstance_template
forgoogle_compute_instance_group_manager
andgoogle_compute_region_instance_group_manager
. Useversion.instance_template
instead. (#1309)compute
: deprecatedupdate_strategy
forgoogle_compute_instance_group_manager
. Useupdate_policy
instead. (#1309)container
: deprecatedgoogle_container_cluster
ip_allocation_policy.create_subnetwork
,ip_allocation_policy.subnetwork_name
,ip_allocation_policy.node_ipv4_cidr_block
. Define an explicitgoogle_compute_subnetwork
and usesubnetwork
instead. (#1312)container
: deprecatedgoogle_container_cluster
ip_allocation_policy.use_ip_aliases
. If it's set to true, remove it from your config. If false, removeip_allocation_policy
as a whole. (#1312)iam
: Deprecatedpgp_key
ongoogle_service_account_key
resource. 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_router
datasource (#1233)
IMPROVEMENTS:
cloudbuild
: added ability to specifyname
forcloud_build_trigger
to avoid name collisions when creating multiple triggers at once. (#1277)compute
: added support for multiple versions ofinstance_template
and granular control of the update policies forgoogle_compute_instance_group_manager
andgoogle_compute_region_instance_group_manager
. (#1309)container
: addedtaint
field in GKE resources to the GAgoogle
provider (#1296)container
: fix a diff created in the cloud console whenMaintenanceExclusions
are added. (#1310)container
: addedmaintenance_policy.recurring_window
support togoogle_container_cluster
, significantly increasing expressive range. (#1292)compute
: addedgoogle_compute_instance
support for display device (Virtual Displays) (#1313)iam
: added support for IAM Conditions to thegoogle_service_account_iam_*
resources (beta provider only) (#1188)iam
: addeddescription
togoogle_service_account
. (#1291)
BUG FIXES:
appengine
: Resolved permadiff ingoogle_app_engine_domain_mapping.ssl_settings.certificate_id
. (#1303)storage
: Fixed error ingoogle_storage_bucket
where 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_project
auto_create_network
is failing to delete networks when set tofalse
. Use an earlier provider version to resolve.
DEPRECATIONS:
container
: Thekubernetes_dashboard
addon 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_config
attribute tonode_config
(#1198)container
: Allow the configuration of release channels when creating GKE clusters. (#1260)dataflow
: addedip_configuration
option tojob
. (#1284)pubsub
: Added fieldoidc_token
togoogle_pubsub_subscription
(#1265)sql
: addedlocation
field tobackup_configuration
block 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_config
params
crashing on boolean values (#1263)cloudrun
: fixed the apiVersion sent ingoogle_cloud_run_domain_mapping
requests (#1251)compute
: added support for updating multiple fields at once togoogle_compute_subnetwork
(#1269)compute
: fixed diffs ingoogle_compute_instance_group
'snetwork
field when equivalent values were specified (#1286)compute
: fixed issues updatinggoogle_compute_instance_group
'sinstances
field 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_services
users of provider versions prior to2.17.0
should update, as past versions of the provider will not handle an upcoming rename ofbigquery-json.googleapis.com
tobigquery.googleapis.com
well. See hashicorp/terraform-provider-google#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-read
scope 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
github
field ingoogle_cloudbuild_trigger
. (#1229) - container: moved
default_max_pods_per_node
to ga. (#1235) - containeranalysis: moved
google_containeranalysis_note
to 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_routing
ongoogle_cloud_scheduler_job
(#1131) - compute: Added ability to set
quic_override
ongoogle_compute_https_target_proxy
to empty. (#1219) - compute: Fix bug where changes to
region_backend_service.backends.failover
was not detected. (#1236) - compute: fixed
google_compute_router_peer
to default if empty foradvertise_mode
(#1163) - compute: fixed perma-diff in
google_compute_router_nat
when referencing subnetwork vianame
(#1194) - compute: fixed perma-diff in
google_compute_router_nat
when referencing subnetwork vianame
(#1194) - container: fixed an overly-aggressive validation for
master_ipv4_cidr_block
ingoogle_container_cluster
(#1211)
KNOWN ISSUES:
- Based on an upstream change, users of the
google_project_services
resource may have seen thebigquery.googleapis.com
service added and thebigquery-json.googleapis.com
service removed, causing a diff. This was later reverted, causing another diff. This issue is being tracked as hashicorp/terraform-provider-google#4590.
FEATURES:
- New Resource:
google_compute_region_url_map
is now available. To support this, theprotocol
forgoogle_compute_region_backend_service
can now be set toHTTP
,HTTPS
,HTTP2
, andSSL
. (#1161) - New Resource: Adds
google_runtimeconfig_config_iam_*
resources (#1138) - New Resource: Added
google_compute_resource_policy
andgoogle_compute_disk_resource_policy_attachment
to managegoogle_compute_disk
resource policies as fine-grained resources (#1085)
ENHANCEMENTS:
- composer: Add
python_version
and ability to setimage_version
ingoogle_composer_environment
in the GA provider (#1143) - compute:
google_compute_global_forwarding_rule
now supportsmetadata_filters
. (#1160) - compute:
google_compute_backend_service
now supportslocality_lb_policy
,outlier_detection
,consistent_hash
, andcircuit_breakers
. (#1118) - compute: Add support for
guest_os_features
to resourcegoogle_compute_image
(#1156) - compute: Added
drain_nat_ips
togoogle_compute_router_nat
(#1155) - container: google_container_node_pool now supports node_locations to specify specific node zones. (#1154)
- googleapis:
google_netblock_ip_ranges
data source now has aprivate-googleapis
field, 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 theproject
field in state (#1158)
BUG FIXES:
- cloudiot: Fixed error where
subfolder_matches
were not set ingoogle_cloudiot_registry
event_notification_configs
(#1175)
FEATURES:
- New Resource:
google_iap_web_iam_binding/_member/_policy
are now available for managing IAP web IAM permissions (#1044) - New Resource:
google_iap_web_backend_service_binding/_member/_policy
are now available for managing IAM permissions on IAP enabled backend services (#1044) - New Resource:
google_iap_web_type_compute_iam_binding/_member/_policy
are now available for managing IAM permissions on IAP enabled compute services (#1044) - New Resource:
google_iap_web_type_app_engine_iam_binding/_member/_policy
are 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_reservation
allows you to reserve instance capacity in GCE. (#1086) - New Resource:
google_compute_region_health_check
is now available. This andgoogle_compute_health_check
now include additional support for HTTP2 health checks. (#1058)
ENHANCEMENTS:
- compute: Added full routing options to
google_compute_router_peer
(#1104) - compute: add
tunnel_id
togoogle_compute_vpn_tunnel
andgateway_id
togoogle_compute_vpn_gateway
(#1106) - compute:
google_compute_subnetwork
now includes thepurpose
androle
fields. (#1051) - compute: add
purpose
field togoogle_compute_address
(#1115) - compute: add
mode
option togoogle_compute_instance.boot_disk
(#1119) - compute:
google_compute_firewall
does not show a diff if allowed or denied rules are specified with uppercase protocol values (#1144) - compute: Add support for the
log_config
block tocompute_backend_service
(Beta only) (#1137) - logging: added
metric_descriptor.unit
togoogle_logging_metric
resource (#1117)
BUG FIXES:
- all: More classes of generic HTTP errors are retried provider-wide. (#1120)
- container: Fix error when
master_authorized_networks_config
is removed from thegoogle_container_cluster
configuration. (#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_metric
explicit
bucket 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_config
field has been deprecated. (#1064)
FEATURES:
- New Resource:
google_bigtable_app_profile
is 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_nodes
can now be updated ingoogle_bigtable_instance
(#1067) - cloudiot:
resource_cloudiot_registry
now has fields pluralevent_notification_configs
andlog_level
, andevent_notification_config
has 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_policy
now 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_token
andoidc_token
on 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_role
now sets the project properly on import. (#1089) - sql: Added back a missing import format for
google_sql_database
. (#1061)
KNOWN ISSUES:
bigtable
:google_bigtable_instance
may cause a panic on Terraform0.11
. This was resolved in2.17.0
.
FEATURES:
- New Resource: added the
google_vpc_access_connector
resource and thevpc_connector
option on thegoogle_cloudfunctions_function
resource. (#1004) - New Resource: Added
google_scc_source
resource 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_instance
max number ofcluster
blocks is now 4 (#995) - binary_authorization: Added
globalPolicyEvaluationMode
togoogle_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_ranges
to 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_name
ingoogle_container_cluster.database_encryption
is 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_endpoint
and add location-only import formats (#947) - compute: add support for
resource_policies
to resourcegoogle_compute_disk
(#960) - compute: Support labelling for compute_instance boot_disks and compute_instance_template disks. (#982)
- container:
workload_identity_config
ingoogle_container_cluster
can 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
labels
on resourcegoogle_dataflow_job
(#970) - dataproc: add support for
optional_components
to resourceresource_dataproc_cluster
(#961) - project: add checks to import to prevent importing by project number instead of id (#954)
- storage: add support for
retention_policy
to resourcegoogle_storage_bucket
(#949)
BUG FIXES:
- access_context_manager: import format checking (#952)
- dataproc: Suppress diff for
google_dataproc_cluster
software_config.0.image_version
to 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_bucket
Set 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_policy
are 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_configuration
togoogle_bigquery_table
. (#696) - compute: Avoid getting project if no diff found for google_compute_instance_template (#932)
- firestore:
google_firestore_index
query_scope
can haveCOLLECTION_GROUP
specified. (#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_cluster
deeper nil checks to prevent crash on empty object (#934) - container:
google_container_cluster
keep clusters in state if they are created in an error state and don't get correctly cleaned up. (#929) - container:
google_container_node_pool
Correctly set nodepool autoscaling in state when disabled in the API (#931) - container:
google_container_cluster
will now wait to act until the cluster can be operated on, respecting timeouts. (#927) - monitoring: Fix diff in
google_monitoring_uptime_check_config
on a deprecated field. (#944) - service:
google_service_networking_connection
correctly 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_job
schedule_end_date
caused requests to fail if unset. (#936) - storage:
google_storage_object_acl
Prevent panic when using interpolated object names. (#917)
DEPRECATIONS:
- monitoring: Deprecated non-existent fields
is_internal
andinternal_checkers
fromgoogle_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_endpoint
andmax_rate_per_endpoint
(#854) - compute: Support custom timeouts in
google_compute_instance_group_manager
andgoogle_compute_region_instance_group_manager
(#909) - container:
node_config.sandbox_config
is supported on GKE node pool definitions, allowing you to configure GKE Sandbox. (#863) - container:
google_container_cluster
add support for GKE resource usage (#825) - folder:
google_folder
improve error message on delete (#878) - iam: sort bindings in
google_*_iam_policy
resources to get simpler diffs (#881) - kms:
google_kms_crypto_key
now supports labels. (#885) - pubsub:
google_pubsub_topic
supports KMS keys withkms_key_name
. (#894)
BUG FIXES:
- iam: the member field in iam_* resources is now case-insensitive (#876)
- servicenetworking:
google_service_networking_connection
fix update (#871)
BUG FIXES:
- kms: fix regression when reading existing
google_kms_crypto_key
resources (#873) - storage:
google_storage_bucket
fix for crash that occurs when running plan on old buckets (#870) - storage:
google_storage_bucket
allow 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_policy
is now available which can be used to schedule disk snapshots. (#1850) - New Resource:
google_compute_external_vpn_gateway
is 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_cluster
Stop guest_accelerator from having a permadiff for accelerators withcount=0
(#851) - container:
google_container_cluster
supportsauthenticator_groups_config
to allow Google Groups-based authentication. (#669) - container:
google_container_cluster
supportsenable_intranode_visibility
. (#801) - container:
google_container_cluster
supports Workload Identity to access GCP APIs in GKE applications withworkload_identity_config
. (#824) - dataproc:
google_dataproc_cluster
supportsmin_cpu_platform
(#424], [#848) - dns:
google_dns_record_set
: allow importing dns record sets in any project (#853) - kms:
kms_crypto_key
supportspurpose
(#845) - storage:
google_storage_bucket
now supports enablingbucket_policy_only
access control. (#1878) - storage: IAM resources for storage buckets (
google_storage_bucket_iam_*
) now all support import (#835) - pubsub:
google_pubsub_topic
Updates for labels are now supported (#832)
BUG FIXES:
- bigquery:
google_bigquery_dataset
Relax IAM role restrictions on BQ datasets (#857) - compute:
google_project_iam
When importing resourcesproject
no longer needs to be set in the config post import (#805) - compute:
google_sql_user
User's can now be updated to change their password (#810) - compute:
google_compute_instance_template
Fixed issue so project can now be specified by interpolated varibles. (#816) - compute:
google_compute_instance_template
Throw error when using incompatible disk fields instead of continual plan diff (#812) - compute:
google_compute_instance_from_template
Make sure disk type is expanded to a URL (#771) - comptue:
google_compute_instance_template
Attempt to put disks in state in the same order they were specified (#771) - container:
google_container_cluster
andgoogle_node_pool
now retry correctly when polling for status of an operation. (#818) - container:
google_container_cluster
istio_config.auth
will no longer permadiff onAUTH_NONE
when an auth method other than TLS is defined. (#834) - dns:
google_dns_record_set
overrides all existing record types on create, not just NS (#850) - monitoring:
google_monitoring_notification_channel
Allow setting enabled to false (#864) - pubsub:
google_pubsub_subscription
andgoogle_pubsub_topic
resources can be created inside VPC service controls. (#827) - redis:
google_redis_instance
Fall back to region fromlocation_id
when region isn't specified (#847)
DEPRECATIONS:
- compute: The
auto_create_routes
field ongoogle_compute_network_peering
has been deprecated because it is not user configurable. (#3394)
FEATURES:
- New Resource:
google_compute_ha_vpn_gateway
is now available. This is an alternative togoogle_compute_vpn_gateway
that 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_application
location validation. (#760) - compute:
google_compute_vpn_tunnel
supports HA fieldsvpn_gateway
,vpn_gateway_interface
,peer_gcp_gateway
,peer_external_gateway
,vpn_gateway_interface
(#704) - compute:
google_container_cluster
add support for vertical pod autoscaling (#749) - compute:
google_compute_router_interface
now supports specifying aninterconnect_attachment
. (#769) - compute:
google_compute_router_nat
now supports specifying alog_config
block. (#743) - compute:
google_compute_router_nat
now supports more import formats. (#785) - compute:
google_compute_network_peering
now supports importing/exporting custom routes (#754) - compute:
google_compute_backend_service
now supports self-managed internal load balancing (#772) - compute:
google_compute_region_backend_service
now 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_cluster
now supportsvertical_pod_autoscaling
(#733) - container: Expose the
services_ipv4_cidr
forcontainer_cluster
. (#804) - dataflow:
google_dataflow_job
now supports setting machine type (#1862) - dns:
google_dns_managed_zone
now supports DNSSec (#737) - kms:
google_kms_key_ring
is now autogenerated. (#748) - pubsub:
google_pubsub_subscription
supports setting anexpiration_policy
with nottl
. (#783)
BUG FIXES:
- binauth:
google_binary_authorization_policy
can 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_service
was 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_tunnel
now 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_cluster
will no longer diff unnecessarily onissue_client_certificate
. (#788) - container:
google_container_cluster
can enable client certificates on GKE1.12+
series releases. (#788) - container:
google_container_cluster
now 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_key
andgoogle_compute_backend_service_signed_url_key
were introduced in2.4.0
.
BACKWARDS INCOMPATIBILITIES:
- cloudfunctions:
google_cloudfunctions_function.runtime
now 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_policy
are 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_policy
are now available. (#687)
ENHANCEMENTS:
- provider: Add GCP zone to
google_client_config
datasource (#668) - compute: Add support for creating instances with CMEK (#698)
- compute: Can now specify project when importing instance groups.
- compute:
google_compute_instance
now supportsshielded_instance_config
for verifiable integrity of your VM instances. (#711) - compute:
google_compute_backend_service
now supportsHTTP2
protocol (beta API feature) #708 - compute:
google_compute_instance_template
now supportsshielded_instance_config
for 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.runtime
now has an explicit default value ofnodejs6
. (#697) - monitoring: updating
google_monitoring_alert_policy
is more likely to succeed (#684) - kms:
google_kms_crypto_key
now (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_function
s without aruntime
set will fail to create due to an upstream API change. You can work around this by setting an explicitruntime
in2.X
series releases.
DEPRECATIONS:
- monitoring:
google_monitoring_alert_policy
labels
was deprecated, as the field was never used and it was typed incorrectly. (#635)
FEATURES:
- New Datasource:
google_compute_node_types
for sole-tenant node types is now available. (#614) - New Resource:
google_compute_node_group
for sole-tenant nodes is now available. (#643) - New Resource:
google_compute_node_template
for sole-tenant nodes is now available. (#614) - New Resource:
google_firestore_index
is now available to configure composite indexes on Firestore. (#632) - New Resource:
google_logging_metric
is now available to configure Stackdriver logs-based metrics. (#1702) - New Resource:
google_compute_network_endpoint_group
(#630) - New Resource:
google_security_scanner_scan_config
is now available for configuring scan runs with Cloud Security Scanner. (#641)
ENHANCEMENTS:
- compute:
google_compute_subnetwork
now supportslog_config
to configure flow logs' logging behaviour. (#619) - container:
google_container_cluster
now supportsdatabase_encryption
to configure etcd encryption. (#649) - dataflow:
google_dataflow_job
'snetwork
andsubnetwork
can be configured. (#631) - monitoring:
google_monitoring_alert_policy
user_labels
support was added. (#635) - compute:
google_compute_region_backend_service
is now generated with Magic Modules, adding configurable timeouts, multiple import formats,creation_timestamp
output. (#645) - compute:
iam_compute_subnetwork
is now GA. (#656) - pubsub:
google_pubsub_subscription
now supports setting anexpiration_policy
. (#1703)
BUG FIXES:
- bigquery:
google_bigquery_table
will work with a larger range of projects id formats. (#658) - cloudfunctions:
google_cloudfunctions_fucntion
no longer restricts an outdated list ofregion
s (#659) - compute:
google_compute_instance
now retries updating metadata when fingerprints are mismatched. (#583) - compute:
google_compute_instance
andgoogle_compute_instance_template
now support node affinities for scheduling on sole tenant nodes [#663](hashicorp#663) - compute:
google_compute_managed_ssl_certificate
will no longer diff when using an absolute FQDN. (#591) - compute:
google_compute_disk
resources usinggoogle-beta
will properly detach users at deletion instead of failing. (#640) - compute:
google_compute_subnetwork.secondary_ip_ranges
doesn't cause a diff on out of band changes, allows updating to empty list of ranges. (#3496) - container:
google_container_cluster
setting networks / subnetworks by name works withlocation
. (#634) - container:
google_container_cluster
removed an overly restrictive validation restrictingnode_pool
andremove_default_node_pool
being specified at the same time. (#637) - storage:
data_source_google_storage_bucket_object
now correctly URL encodes the slashes in a file name (#587)
BUG FIXES:
- compute:
google_compute_backend_service
handles empty/niliap
block created by previous providers properly. (#622) - compute:
google_compute_backend_service
allows multiple instance types inbackends.group
again. (#625) - dns:
google_dns_managed_zone
does not permadiff when visiblity is set to default and returned as empty from API (#624) - google_projects: Datasource
google_projects
now handles paginated results from listing projects (#626) - google_project_iam:
google_project_iam_policy/member/binding
now attempts to retry for read-only operations as well as retrying read-write operations(#620) - kms:
google_kms_crypto_key.rotation_period
now can be an empty string to allow for unset behavior in modules (#627)
KNOWN ISSUES:
- compute:
google_compute_subnetwork
will fail to reordersecondary_ip_range
values at apply time - compute:
google_compute_subnetwork
s 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_group
will not reconcile instances recreated within the sameterraform apply
due to underlying0.12
SDK changes in the provider. (#616) - compute:
google_compute_subnetwork
will have a diff ifsecondary_ip_range
values defined in config don't exactly match real state; if so, they will need to be reconciled. (#3432) - container:
google_container_cluster
will have a diff ifmaster_authorized_networks.cidr_blocks
defined in config doesn't exactly match the real state; if so, it will need to be reconciled. (#603)
BUG FIXES:
- container:
google_container_cluster
catch 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_service
handles empty/niliap
block created by previous providers properly. (#622) - compute:
google_compute_backend_service
allows multiple instance types inbackends.group
again. (#625) - dns:
google_dns_managed_zone
does not permadiff when visiblity is set to default and returned as empty from API (#624)
KNOWN ISSUES:
- compute:
google_compute_backend_service
resources 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. (hashicorp/terraform-provider-google#3441) - dns:
google_dns_managed_zone.visibility
will cause a diff if set topublic
. Setting it to""
(defaulting to public) will work around this. (hashicorp/terraform-provider-google#3435)
BACKWARDS INCOMPATIBILITIES:
- accesscontextmanager:
google_access_context_manager_service_perimeter
unrestricted_services
field was removed based on a removal in the underlying API. (#576)
FEATURES:
- New Resource:
google_compute_backend_bucket_signed_url_key
is now available. (#530) - New Resource:
google_compute_backend_service_signed_url_key
is now available. (#577) - New Datasource:
google_service_account_access_token
is now available. (#575)
ENHANCEMENTS:
- compute:
google_compute_backend_service
is now generated with Magic Modules, adding configurable timeouts, multiple import formats,creation_timestamp
output. (#569) - compute:
google_compute_backend_service
now supportsload_balancing_scheme
andcdn_policy.signed_url_cache_max_age_sec
. (#584) - compute:
google_compute_network
now supportsdelete_default_routes_on_create
to delete pre-created routes at network creation time. (#592) - compute:
google_compute_autoscaler
now supportsmetric.single_instance_assignment
(#580) - dns:
google_dns_policy
now supportsenable_logging
. (#573) - dns:
google_dns_managed_zone
now supportspeering_config
to enable DNS Peering. (#572)
BUG FIXES:
- container:
google_container_cluster
will ignore out of band changes onnode_ipv4_cidr_block
. (#558) - container:
google_container_cluster
will now reject config with bothnode_pool
andremove_default_node_pool
defined (#600) - container:
google_container_cluster
will allow >20cidr_blocks
inmaster_authorized_networks_config
. (#594) - netblock:
data.google_netblock_ip_ranges.cidr_blocks
will better handle ipv6 input. (#590) - sql:
google_sql_database_instance
will retry reads during Terraform refreshes if it hits a rate limit. (#579)
DEPRECATIONS:
- container:
google_container_cluster
zone
andregion
fields are deprecated in favour oflocation
,additional_zones
in favour ofnode_locations
. (#461) - container:
google_container_node_pool
zone
andregion
fields are deprecated in favour oflocation
. (#461) - container:
data.google_container_cluster
zone
andregion
fields are deprecated in favour oflocation
. (#461) - container:
google_container_engine_versions
zone
andregion
fields are deprecated in favour oflocation
. (#461)
FEATURES:
- New Datasource:
google_*_organization_policy
Adding datasources for folder and project org policy (#468)
ENHANCEMENTS:
- compute:
google_compute_disk
,google_compute_region_disk
now supportphysical_block_size_bytes
(#526) - compute: `google_compute_vpn_tunnel will properly apply labels. (#541)
- container:
google_container_cluster
adds a unifiedlocation
field for regions and zones,node_locations
to manage extra zones for multi-zonal clusters and specific zones for regional clusters. (#461) - container:
google_container_node_pool
adds a unifiedlocation
field for regions and zones. (#461) - container:
data.google_container_cluster
adds a unifiedlocation
field for regions and zones. (#461) - container:
google_container_engine_versions
adds a unifiedlocation
field for regions and zones. (#461) - dataflow:
google_dataflow_job
has support for custom service accounts withservice_account_email
. (#527) - monitoring:
google_monitoring_uptime_check
will properly recreate to perform updates. (#485) - resourcemanager:
google_*_organization_policy
Add import support for folder and project organization_policies (#512) - sql:
google_sql_ssl_cert
Allow project to be specified at resource level (#524) - storage:
google_storage_bucket
avoids calls to the compute api during import (#529) - storage:
google_storage_bucket.storage_class
supports updating. (#548) - various: Some import formats that previously failed will now work as documented. (#542)
BUG FIXES:
- compute:
google_compute_disk
will properly detach instances again. (#538) - container:
google_container_cluster
,google_container_node_pool
properly suppress new GKE1.12
metadata
values. (#522) - various: Only 409 concurrent operation errors will be retried, and naming conflicts will not. (#544)
KNOWN ISSUES:
- compute:
google_compute_disk
is unable to detach instances at deletion time.
FEATURES:
- New Datasource:
data.google_projects
for retrieving a list of projects based on a filter. (#493) - New Resource:
google_tpu_node
for Cloud TPU Nodes (#494) - New Resource:
google_dns_policy
for Cloud DNS policies. (#488)
ENHANCEMENTS:
- compute:
google_compute_disk
andgoogle_compute_region_disk
will now detach themselves from a more up to date set of users at delete time. (#480) - compute:
google_compute_network
is now generated by Magic Modules, supporting configurable timeouts and more import formats. (#509) - compute:
google_compute_firewall
will validate the maximum size of service account lists at plan time. (#508) - container:
google_container_cluster
can now disable VPC Native clusters withip_allocation_policy.use_ip_aliases
(#489) - container:
data.google_container_engine_versions
supportsversion_prefix
to allow fuzzy version matching. Using this field, Terraform can match the latest version of a major, minor, or patch release. (#506) - pubsub:
google_pubsub_subscription
now supports configuringmessage_retention_duration
andretain_acked_messages
. (#503)
BUG FIXES:
- app_engine:
google_app_engine_application
correctly outputsgcr_domain
. (#479) - compute:
data.google_compute_subnetwork
outputs theself_link
field again. (#481) - compute:
google_compute_attached_disk
is now removed from state if the instance was removed. (#497) - container:
google_container_cluster
private_cluster_config now has a diff suppress to prevent a permadiff for and allows for emptymaster_ipv4_cidr_block
(#460) - container:
google_container_cluster
import behavior fixed/documented for TF-state-only fields (remove_default_node_pool
,min_master_version
) (#476][#487][#495) - storagetransfer:
google_storage_transfer_job
will 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_userinfo
for retrieving theemail
used to authenticate with GCP. (#459)
ENHANCEMENTS:
- compute:
data.google_compute_subnetwork
can now be addressed byself_link
as an alternative to the existingname
/region
/project
fields. (#429) - dns: Support for privately visible zones is added to
google_dns_managed_zone
. (#268) - pubsub:
google_pubsub_topic
is now generated using Magic Modules, adding Open in Cloud Shell examples, configurable timeouts, and thelabels
field. (#432) - pubsub:
google_pubsub_subscription
is now generated using Magic Modules, adding Open in Cloud Shell examples, configurable timeouts, update support, and thelabels
field. (#432) - sql:
google_sql_database_instance
now providespublic_ip_address
andprivate_ip_address
outputs of the first public and private IP of the instance respectively. (#454)
BUG FIXES:
- sql:
google_sql_database_instance
allows the empty string to be set forprivate_network
. (#454)
BACKWARDS INCOMPATIBILITIES:
- bigtable:
google_bigtable_instance
zone
field is no longer inferred from the provider. - bigtable:
google_bigtable_table
now readsfamily
from the table's column family in Cloud Bigtable instead of creating a new column family (#70) - bigtable:
google_bigtable_instance.cluster.num_nodes
will fail at plan time ifDEVELOPMENT
instances havenum_nodes = "0"
set explicitly. If it has been set, unset the field. (#82) - cloudbuild:
google_cloudbuild_trigger.build.step.args
is now a list instead of space separated strings. (#308) - cloudfunctions:
google_cloudfunctions_function.retry_on_failure
has been removed. Useevent_trigger.failure_policy.retry
instead. (#75) - cloudfunctions:
google_cloudfunctions_function.trigger_bucket
andgoogle_cloudfunctions_function.trigger_topic
have been removed. Useevent trigger
instead. (#30) - composer:
google_composer_environment.node_config.zone
is nowRequired
. (#396) - compute:
google_compute_instance
,google_compute_instance_from_template
metadata
field is now authoritative and will remove values not explicitly set in config. [#2208](hashicorp/terraform-provider-google#2208) - compute:
google_compute_region_instance_group_manager
fieldupdate_strategy
is now deprecated in the beta provider only. It will only function in thegoogle
provider, (#76) - compute:
google_compute_global_forwarding_rule
fieldlabels
is now removed (#81) - compute:
google_compute_project_metadata
resource is now authoritative and will remove values not explicitly set in config. [#2205](hashicorp/terraform-provider-google#2205) - compute:
google_compute_url_map
resource is now authoritative and will remove values not explicitly set in config. [#2245](hashicorp/terraform-provider-google#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_sha256
fields 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.sha256
instead. (#202) - compute:
google_compute_instance_group_manager
is no longer imported by the provider-level region. Set the appropriate provider-level zone instead. (#248) - compute:
google_compute_region_instance_group_manager.update_strategy
in thegoogle-beta
provider has been removed. (#189) - compute:
google_compute_instance
,google_compute_instance_template
,google_compute_instance_from_template
have had thenetwork_interface.address
field removed. (#190) - compute:
google_compute_instance
has had thenetwork_interface.access_config.assigned_nat_ip
field removed (#48) - compute:
google_compute_disk
is 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_nat
is now Required insidesubnetwork
blocks. (#281) - compute:
google_compute_ssl_certificate
'sprivate_key
field is no longer stored in state in cleartext; it is now SHA256 encoded. (#400) - container:
google_container_cluster
fields (private_cluster
,master_ipv4_cidr_block
) are removed. Useprivate_cluster_config
andprivate_cluster_config.master_ipv4_cidr_block
instead. (#78) - container:
google_container_node_pool
'sname_prefix
field has been restored and is no longer deprecated. (#2975) - sql:
google_sql_database_instance
resource is now authoritative and will remove values not explicitly set in config. [#2203](hashicorp/terraform-provider-google#2203) - endpoints:
google_endpoints_service.protoc_output
was removed. Usegoogle_endpoints_service.protoc_output_base64
instead. (#79) - resourcemanager:
google_project_iam_policy
is 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_id
has been removed. Use thename
field instead. (#80) - resourcemanager:
google_project.app_engine
has been removed. Use thegoogle_app_engine_application
resource instead. (#74) - resourcemanager:
google_organization_custom_role.deleted
is now an output-only attribute. Useterraform destroy
, or remove the resource from your config instead. (#191) - resourcemanager:
google_project_custom_role.deleted
is now an output-only attribute. Useterraform destroy
, or remove the resource from your config instead. (#199) - serviceusage:
google_project_service
will now error instead of silently disabling dependent services ifdisable_dependent_services
is unset. (#384) - storage:
google_storage_object_acl.role_entity
is now authoritative and will remove values not explicitly set in config. Usegoogle_storage_object_access_control
for fine-grained management. (#26) - storage:
google_storage_default_object_acl.role_entity
is now authoritative and will remove values not explicitly set in config. (#47) - iam:
google_*_iam_binding
Change all IAM bindings to be authoritative (#291)
FEATURES:
- New Resource:
google_access_context_manager_access_policy
for managing the container for an organization's access levels. (#96) - New Resource:
google_access_context_manager_access_level
for managing an organization's access levels. (#149) - New Resource:
google_access_context_manager_service_perimeter
for 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_job
for managing recurring storage transfers with Google Cloud Storage. (#256) - New Resource:
google_cloud_scheduler_job
for 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_account
data 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_token
config option to allow Terraform to authenticate using short-lived Google OAuth 2.0 access token (#330) - bigquery: Add new locations
europe-west2
andaustralia-southeast1
to valid location set forgoogle_bigquery_dataset
(#41) - bigquery: Add
default_partition_expiration_ms
field togoogle_bigquery_dataset
resource. (#127) - bigquery: Add
delete_contents_on_destroy
field togoogle_bigquery_dataset
resource. (#413) - bigquery: Add
time_partitioning.require_partition_filter
togoogle_bigquery_table
resource. (#324) - bigquery: Allow more BigQuery regions (#269)
- bigtable: Add
column_family
at create time togoogle_bigtable_table
. [#2228](https://github.com/terraform