Azure "get started" tutorial help

While following the Hashicorp Azure tutorial it seems to have a fault. Maybe it’s due to versioning?

Here is the tutorial:

When running the script it fails with the errors below. From reading the documentation understand that “address_prefix” is deprecated. However, changing “address_prefixes” to “address_prefix” resolve the error, but gives me a new error.

While I’m happy to problem solve, I would like to know if this tutorial is in fact no longer suitable to use and should I move on rather trying to fix it?

I’m using the exact script from the tutorial.

Warning: Quoted type constraints are deprecated

on line 19, in variable “admin_password”:
19: type = “string”

Terraform 0.11 and earlier required type constraints to be given in quotes,
but that form is now deprecated and will be removed in a future version of
Terraform. To silence this warning, remove the quotes around “string”.

Error: Missing required argument

on line 38, in resource “azurerm_subnet” “subnet”:
38: resource “azurerm_subnet” “subnet” {

The argument “address_prefix” is required, but no definition was found.

Error: Unsupported argument

on line 42, in resource “azurerm_subnet” “subnet”:
42: address_prefixes = [“”]

An argument named “address_prefixes” is not expected here. Did you mean

Error: Invalid resource type

on line 87, in resource “azurerm_network_interface_security_group_association” “nic-nsg”:
87: resource “azurerm_network_interface_security_group_association” “nic-nsg” {

The provider provider.azurerm does not support resource type