Need example for usage of 'advanced_machine_features' attr to diable hyperthreading in gcp instance

I am trying to disable hyperthreading for my VM and hitting this issue:

│ Error: Unsupported block type

│ on gcp/b3-edge1/b3-edge1.tf line 41, in resource “google_compute_instance” “b3-edge1”:
│ 41: advanced_machine_features {

│ Blocks of type “advanced_machine_features” are not expected here.

bash-4.4$ terraform -v
Terraform v1.1.7
on linux_amd64

TF Files are attached.

b3-edge1.txt (2.3 KB)
main.txt (5.3 KB)
variable.txt (8.2 KB)

Can someone provide a working example for this attribute?

Thanks.