From 6e9dbf766a5adfa1c3e119f70d1a2865fbd60453 Mon Sep 17 00:00:00 2001 From: Yngve Hansen Date: Mon, 22 Mar 2021 07:37:26 +0100 Subject: [PATCH] Move azurerm provider version to terraform required_providers block --- main.tf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 75451dc..90ac8df 100644 --- a/main.tf +++ b/main.tf @@ -1,9 +1,13 @@ terraform { required_version = ">= 0.12.6" + required_providers { + azurerm = { + version = "~> 2.51.0" + } + } } provider "azurerm" { - version = "~> 2.51.0" features {} }