Fix azure provider for module

This commit is contained in:
Chris Long
2021-05-08 15:33:25 -07:00
parent bb41499a27
commit 844fea65e4
2 changed files with 11 additions and 0 deletions

View File

@@ -3,6 +3,11 @@ locals {
custom_data_content = file("${path.module}/../../files/winrm.ps1") custom_data_content = file("${path.module}/../../files/winrm.ps1")
} }
provider "azurerm" {
version = "=2.12.0"
features {}
}
resource "azurerm_virtual_machine" "exchange" { resource "azurerm_virtual_machine" "exchange" {
name = "exchange.windomain.local" name = "exchange.windomain.local"
location = var.region location = var.region

View File

@@ -1,3 +1,9 @@
terraform { terraform {
required_version = ">= 0.12, < 15.0.0" required_version = ">= 0.12, < 15.0.0"
required_providers {
azurerm = {
version = "=2.12.0"
}
}
} }