Hi FreddyAyala, nice post! would you be able to elaborate on the things that need to be in place in the tenant before executing the instructions?
I was testing in a Visual Studio Pro subscription and get these errors:
......
Resource Group Name: "es-connectivity-westeurope"
Virtual Network Name: "es-hub-westeurope"
Subnet Name: "AzureBastionSubnet") was not found
with data.azurerm_subnet.Bastion_subnet,
on bastion.tf line 24, in data "azurerm_subnet" "Bastion_subnet":
24: data "azurerm_subnet" "Bastion_subnet" {
Error: Error: Resource Group "es-connectivity-westeurope" was not found
with module.virtual-machine.data.azurerm_resource_group.rg,
on ../Modules/Core/virtual-machine/main.tf line 21, in data "azurerm_resource_group" "rg":
21: data "azurerm_resource_group" "rg" {
......
I guess i'm missing something here 🙂