Skip to content

Commit 917b628

Browse files
authored
Add provider.tf for Azure provider configuration
1 parent d89e3c4 commit 917b628

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

  • scenario1-high-decay/terraform-infrastructure
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# provider.tf
2+
# This file configures the Azure provider to interact with Azure resources.
3+
# It specifies the required provider and its version, along with provider-specific configurations.
4+
5+
terraform {
6+
required_version = ">= 1.8, < 2.0"
7+
# Specify the required provider and its version
8+
required_providers {
9+
azurerm = {
10+
source = "hashicorp/azurerm" # Source of the AzureRM provider
11+
version = "~> 4.16.0" # Version of the AzureRM provider
12+
}
13+
}
14+
}
15+
16+
provider "azurerm" {
17+
features { # Enable features for the AzureRM provider
18+
key_vault {
19+
recover_soft_deleted_key_vaults = false
20+
purge_soft_delete_on_destroy = true
21+
}
22+
}
23+
24+
subscription_id = var.subscription_id
25+
}

0 commit comments

Comments
 (0)