Review TF files Step #7.1ΒΆ

# download rpm
resource "null_resource" "download_as3" { <---null resource is used
provisioner "local-exec" {
  command = "wget ${var.as3_rpm_url}"     <---wget command to get rpm
}
}

This resource helps to download the node_js rpm for AS3

# install rpm to BIG-IP
resource "null_resource" "install_as3" {
provisioner "local-exec" {
  command = "./install_as3.sh ${var.address} admin:${var.password} ${var.as3_rpm}"
}
depends_on = [null_resource.download_as3]
}

This null resource helps to install the AS3 rpm on the BIG-IP

# deploy application using as3
resource "bigip_as3" "nginx" { <----- "bigip_as3" is resource to configure as3
as3_json    = file("example1.json")
config_name = "demo"
depends_on  = [null_resource.install_as3]
}