Releases: hashicorp/terraform-provider-google
Releases · hashicorp/terraform-provider-google
v4.1.0
IMPROVEMENTS:
- cloudrun: Added support for secrets to GA provider. (#10519)
- compute: Added
bfd
togoogle_compute_router_peer
(#10487) - container: added
gcfs_config
tonode_config
ofgoogle_container_node_pool
resource (#10499) - container: promoted
confidential_nodes
field ingoogle_container_cluster
to GA (#10531) - provider: added retries for the
resourceNotReady
error returned when attempting to add resources to a recently-modified subnetwork (#10498) - pubsub: added
message_retention_duration
field togoogle_pubsub_topic
(#10501)
BUG FIXES:
- apigee: fixed a bug where multiple
google_apigee_instance_attachment
could not be used on the samegoogle_apigee_instance
(#10520) - bigquery: fixed a bug following import where schema is empty on
google_bigquery_table
(#10521) - billingbudget: fixed unable to provide
labels
ongoogle_billing_budget
(#10490) - compute: allowed
source_disk
to accept full image path ongoogle_compute_snapshot
(#10516) - compute: fixed a bug in
google_compute_firewall
that would cause changes insource_ranges
to not correctly be applied (#10515) - logging: fixed a bug with updating
description
ongoogle_logging_project_sink
,google_logging_folder_sink
andgoogle_logging_organization_sink
(#10493)
v4.0.0
NOTES:
- compute: Google Compute Engine resources will now call the endpoint appropriate to the provider version rather than the beta endpoint by default (#10429)
- container: Google Kubernetes Engine resources will now call the endpoint appropriate to the provider version rather than the beta endpoint by default (#10430)
BREAKING CHANGES:
- appengine: marked
google_app_engine_standard_app_version
entrypoint
as required (#10425) - compute: removed the ability to specify the
trace-append
ortrace-ro
as scopes ingoogle_compute_instance
, usetrace
instead (#10377) - compute: changed
advanced_machine_features
ongoogle_compute_instance_template
to track changes when the block is undefined in a user's config (#10427) - compute: changed
source_ranges
ingoogle_compute_firewall_rule
to track changes when it is not set in a config file (#10439) - compute: changed the import / drift detection behaviours for
metadata_startup_script
,metadata.startup-script
ingoogle_compute_instance
. Now,metadata.startup-script
will be set by default, andmetadata_startup_script
will only be set if present. (#10392) - compute: removed
source_disk_link
field fromgoogle_compute_snapshot
(#10424) - compute: removed the
enable_display
field fromgoogle_compute_instance_template
(#10410) - compute: removed the
update_policy.min_ready_sec
field fromgoogle_compute_instance_group_manager
,google_compute_region_instance_group_manager
(#10410) - container:
instance_group_urls
has been removed in favor ofnode_pool.managed_instance_group_urls
(#10442) - container: changed default for
enable_shielded_nodes
to true forgoogle_container_cluster
(#10403) - container: changed
master_auth.client_certificate_config
to required (#10441) - container: removed
master_auth.username
andmaster_auth.password
fromgoogle_container_cluster
(#10441) - container: removed
workload_metadata_configuration.node_metadata
in favor ofworkload_metadata_configuration.mode
ingoogle_container_cluster
(#10400) - container: removed the
pod_security_policy_config
field fromgoogle_container_cluster
(#10410) - container: removed the
workload_identity_config.0.identity_namespace
field fromgoogle_container_cluster
, useworkload_identity_config.0.workload_pool
instead (#10410) - project: removed ability to specify
bigquery-json.googleapis.com
, the provider will no longer convert it as the upstream API migration is finished. Usebigquery.googleapis.com
instead. (#10370) - provider: changed
credentials
,access_token
precedence so thatcredentials
values in configuration take precedence overaccess_token
values assigned through environment variables (#10393) - provider: removed redundant default scopes. The provider's default scopes when authenticating with credentials are now exclusively "https://www.googleapis.com/auth/cloud-platform" and "https://www.googleapis.com/auth/userinfo.email". (#10374)
- pubsub: removed
path
field fromgoogle_pubsub_subscription
(#10424) - resourcemanager: made
google_project
removeorg_id
andfolder_id
from state when they are removed from config (#10373) - resourcemanager: added conflict between
org_id
,folder_id
at plan time ingoogle_project
(#10373) - resourcemanager: changed the
project
field toRequired
in allgoogle_project_iam_*
resources (#10394) - runtimeconfig: removed the Runtime Configurator service from the
google
(GA) provider includinggoogle_runtimeconfig_config
,google_runtimeconfig_variable
,google_runtimeconfig_config_iam_policy
,google_runtimeconfig_config_iam_binding
,google_runtimeconfig_config_iam_member
,data.google_runtimeconfig_config
. They are only available in thegoogle-beta
provider, as the underlying service is in beta. (#10410) - sql: added drift detection to the following
google_sql_database_instance
fields:activation_policy
(defaultsALWAYS
),availability_type
(defaultsZONAL
),disk_type
(defaultsPD_SSD
),encryption_key_name
(#10412) - sql: changed the
database_version
field toRequired
ingoogle_sql_database_instance
resource (#10398) - sql: removed the following
google_sql_database_instance
fields:authorized_gae_applications
,crash_safe_replication
,replication_type
(#10412) - storage: removed
bucket_policy_only
fromgoogle_storage_bucket
(#10397) - storage: changed the
location
field to required ingoogle_storage_bucket
(#10399)
VALIDATION CHANGES:
- bigquery: at least one of
statement_timeout_ms
,statement_byte_budget
, orkey_result_statement
is required ongoogle_bigquery_job.query.script_options.
(#10371) - bigquery: exactly one of
query
,load
,copy
orextract
is required ongoogle_bigquery_job
(#10371) - bigquery: exactly one of
source_table
orsource_model
is required ongoogle_bigquery_job.extract
(#10371) - cloudbuild: exactly one of
branch_name
,commit_sha
ortag_name
is required ongoogle_cloudbuild_trigger.build.source.repo_source
(#10371) - compute: at least one of
fixed_delay
orpercentage
is required ongoogle_compute_url_map.default_route_action.fault_injection_policy.delay
(#10371) - compute: at least one of
fixed
orpercent
is required ongoogle_compute_autoscaler.autoscaling_policy.scale_down_control.max_scaled_down_replicas
(#10371) - compute: at least one of
fixed
orpercent
is required ongoogle_compute_autoscaler.autoscaling_policy.scale_in_control.max_scaled_in_replicas
(#10371) - compute: at least one of
fixed
orpercent
is required ongoogle_compute_region_autoscaler.autoscaling_policy.scale_down_control.max_scaled_down_replicas
(#10371) - compute: at least one of
fixed
orpercent
is required ongoogle_compute_region_autoscaler.autoscaling_policy.scale_in_control.max_scaled_in_replicas
(#10371) - compute: at least one of
max_scaled_down_replicas
ortime_window_sec
is required ongoogle_compute_autoscaler.autoscaling_policy.scale_down_control
(#10371) - compute: at least one of
max_scaled_down_replicas
ortime_window_sec
is required ongoogle_compute_region_autoscaler.autoscaling_policy.scale_down_control
(#10371) - compute: at least one of
max_scaled_in_replicas
ortime_window_sec
is required ongoogle_compute_autoscaler.autoscaling_policy.scale_in_control.0.
(#10371) - compute: at least one of
max_scaled_in_replicas
ortime_window_sec
is required ongoogle_compute_region_autoscaler.autoscaling_policy.scale_in_control.0.
(#10371) - compute: required one of
source_tags
,source_ranges
orsource_service_accounts
on INGRESSgoogle_compute_firewall
resources (#10369) - dlp: at least one of
start_time
orend_time
is required ongoogle_data_loss_prevention_trigger.inspect_job.storage_config.timespan_config
(#10371) - dlp: exactly one...
v3.90.1
DEPRECATIONS:
- container: fixed an overly-broad deprecation on
master_auth
, constraining it tomaster_auth.username
andmaster_auth.password
v3.90.0
DEPRECATIONS:
- container: deprecated
workload_identity_config.0.identity_namespace
and it will be removed in a future major release as it has been deprecated in the API. Useworkload_identity_config.0.workload_pool
instead. Switching your configuration from one value to the other will trigger a diff at plan time, and a spurious update. (#10327) - container: deprecated the following
google_container_cluster
fields:instance_group_urls
andmaster_auth
(#10356)
IMPROVEMENTS:
- container: added
node_config.0.guest_accelerator.0.gpu_partition_size
field to google_container_node_pool (#10339) - container: added
workload_identity_config.0.workload_pool
togoogle_container_cluster
(#10327) - container_cluster: Updated
monitoring_config
to acceptWORKLOAD
(#10321) - provider: Added links to nested types documentation for manually generated pages (#10333)
BUG FIXES:
- cloudrun: fixed a permadiff on the field
template.spec.containers.ports.name
of thegoogle_cloud_run_service
resource (#10340) - composer: removed
config.node_config.zone
requirement ongoogle_composer_environment
(#10353) - compute: fixed permadiff for
failover_policy
ongoogle_compute_region_backend_service
(#10316) - compute: fixed to make
description
updatable without recreation ongoogle_compute_instance_group_manager
(#10329) - container: fixed a permadiff on
google_container_node_pool.workload_metadata_config.mode
(#10313) - iam: fixed request batching bug where failed requests would show unnecessary backslash escaping to the user. (#10303)
- securitycenter: fixed bug where
google_scc_notification_config.streaming_config.filter
was not updating. (#10315)
v3.89.0
DEPRECATIONS:
- compute: deprecated the
enable_display
field ingoogle_compute_instance_template
in thegoogle
(GA) provider. It will only be available in thegoogle-beta
provider in a future release, as the underlying feature is in beta. (#10281)
BUG FIXES:
- compute: fixed bug where
google_compute_router_peer
could not set an advertised route priority of 0, causing permadiff. (#10292) - container: fixed a crash on
monitoring_config
ofgoogle_container_cluster
(#10290) - iam: fixed request batching bug where failed requests would show unnecessary backslash escaping to the user. (#10303)
- storage: fixed a bug to better handle eventual consistency among
google_storage_bucket
resources. (#10287)
v3.88.0
NOTES:
- reorganized documentation to group all Compute Engine and Monitoring (Stackdriver) resources together. (#10205)
DEPRECATIONS:
- container: deprecated
workload_metadata_configuration.node_metadata
in favor ofworkload_metadata_configuration.mode
ingoogle_container_cluster
(#10238) - dataproc: deprecated the
google_dataproc_workflow_template.version
field, as it wasn't actually useful. The field is used during updates, but updates aren't currently possible with the resource. (#10183) - runtimeconfig: deprecated the Runtime Configurator service in the
google
(GA) provider includinggoogle_runtimeconfig_config
,google_runtimeconfig_variable
,google_runtimeconfig_config_iam_policy
,google_runtimeconfig_config_iam_binding
,google_runtimeconfig_config_iam_member
,data.google_runtimeconfig_config
. They will only be available in thegoogle-beta
provider in a future release, as the underlying service is in beta. (#10232)
BREAKING CHANGES: - gke_hub: made the
config_membership
field ingoogle_gke_hub_feature
required, disallowing invalid configurations (#10199) - gke_hub: made the
configmanagement
,feature
,location
,membership
fields ingoogle_gke_hub_feature_membership
required, disallowing invalid configurations (#10199)
FEATURES:
- New Data Source:
google_service_networking_peered_dns_domain
(#10229) - New Data Source:
google_sourcerepo_repository
(#10203) - New Data Source:
google_storage_bucket
(#10190) - New Resource:
google_pubsub_lite_reservation
(#10263) - New Resource:
google_service_networking_peered_dns_domain
(#10229)
IMPROVEMENTS:
- composer: added support for composer v2 fields
workloads_config
andcloud_composer_network_ipv4_cidr_block
tocomposer_environment
(10269) - compute: added external IPv6 support on
google_compute_subnetwork
andgoogle_compute_instance.network_interfaces
(#10189) - container: added support for
workload_metadata_configuration.mode
ingoogle_container_cluster
(#10238) - eventarc: added support for
uid
output field,cloud_function
destination togoogle_eventarc_trigger
(#10199) - gke_hub: added support for
gcp_service_account_email
when configuring Git sync ingoogle_gke_hub_feature_membership
(#10199) - gke_hub: added support for
resource_state
,state
outputs togoogle_gke_hub_feature
(#10199) - pubsub: Added support for references to
google_pubsub_lite_reservation
togoogle_pubsub_lite_topic
. (#10263)
BUG FIXES:
- monitoring: fixed typo in
google_monitoring_uptime_check_config
whereNOT_MATCHES_REGEX
could not be specified. (#10249)
v3.87.0
3.87.0 (October 04, 2021)
DEPRECATIONS:
- dataproc: deprecated the
google_dataproc_workflow_template.version
field, as it wasn't actually useful. The field is used during updates, but updates aren't currently possible with the resource. (#10183)
FEATURES:
- New Resource:
google_org_policy_policy
(#10111)
IMPROVEMENTS:
- cloudbuild: added field
service_account
togoogle_cloudbuild_trigger
(#10159) - composer: added field
scheduler_count
togoogle_composer_environment
(#10158) - compute: Disabled recreation of GCE instances when updating
resource_policies
property (#10173) - container: added support for
logging_config
andmonitoring_config
togoogle_container_cluster
(#10125) - kms: added support for
import_only
togoogle_kms_crypto_key
(#10157) - networkservices: boosted the default timeout for
google_network_services_edge_cache_origin
from 30m to 60m (#10182)
BUG FIXES:
- container: fixed an issue where a node pool created with error (eg. GKE_STOCKOUT) would not be captured in state (#10137)
- filestore: Allowed updating
reserved_ip_range
ongoogle_filestore_instance
via recreation of the instance (#10146) - serviceusage: enabled the service api to retry on failed operation calls in anticipation of transient errors that occur when first enabling the service. (#10171)
v3.86.0
IMPROVEMENTS:
- healthcare: promoted
google_healthcare_hl7_v2_store.parseConfig.version
to GA (#10099)
BUG FIXES:
- dns: fixed an issue in
google_dns_record_set
whererrdatas
could not be updated (#10089) - dns: fixed an issue in
google_dns_record_set
where creating the resource would result in an 409 error (#10089) - platform: fixed a bug in wrongly writing to state when creation failed on
google_organization_policy
(#10082)
v3.85.0
IMPROVEMENTS:
- bigtable: enabled support for
user_project_override
ingoogle_bigtable_instance
andgoogle_bigtable_table
(#10060) - compute: added
iap
fields togoogle_compute_region_backend_service
(#10038) - compute: allowed passing an IP address to the
nextHopIlb
field ofgoogle_compute_route
resource (#10048) - iam: added
disabled
field togoogle_service_account
resource (#10033) - provider: added links to nested types documentation within a resource (#10063)
- storage: added field
path
togoogle_storage_transfer_job
(#10047)
BUG FIXES:
- appengine: fixed bug where
deployment.container.image
would update to an old version even if inignore_changes
(#10058) - bigquery: fixed a bug where
destination_encryption_config.kms_key_name
stored the version rather than the key name. (#10068) - redis: extended the default timeouts on
google_redis_instance
(#10037) - serviceusage: fixed an issue in
google_project_service
where users could not reenable services that were disabled outside of Terraform. (#10045)
v3.84.0
FEATURES:
- New Data Source:
google_secret_manager_secret
(#9983)
IMPROVEMENTS:
- compute: added update support to
google_compute_service_attachment
(#9982)
BUG FIXES:
- container: fixed a bug in failing to remove
maintenance_exclusion
ongoogle_container_cluster
(#10025) - compute: fixed an issue in
google_compute_router_nat
where removinglog_config
resulted in a perma-diff (#9950) - compute: fixed
advanced_machine_features
error messages ingoogle_compute_instance
(#10023) - eventarc: fixed bug where resources deleted outside of Terraform would cause errors (#9997)
- functions: fixed an error message on
google_cloudfunctions_function
(#10011) - logging: fixed the data type for
bucket_options.linear_buckets.width
ongoogle_logging_metric
(#9985) - osconfig: fixed import on
google_os_config_guest_policies
(#10019) - storage: fixed an undetected change on
days_since_noncurrent_time
ofgoogle_storage_bucket
(#10024)