feat: terraform to azure

This commit is contained in:
2025-04-27 15:06:28 +00:00
parent 49a76e0b72
commit e3e27cc972
8 changed files with 159 additions and 35 deletions

View File

@@ -0,0 +1,26 @@
terraform {
required_providers {
esxi = {
source = "registry.terraform.io/josenk/esxi"
}
azurerm = {
source = "hashicorp/azurerm"
version = "~> 4.27.0"
}
}
}
provider "esxi" {
esxi_hostname = var.esxi_hostname
esxi_hostport = var.esxi_hostport
esxi_hostssl = var.esxi_hostssl
esxi_username = var.esxi_username
esxi_password = var.esxi_password
}
provider "azurerm" {
resource_provider_registrations = "none"
subscription_id = var.azure_subscriptionid
features{}
}