Skip to content

Commit

Permalink
Add required_version and remove unneeded providers
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirrezaNasiri committed Dec 30, 2023
1 parent c15073f commit a3b62ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
14 changes: 2 additions & 12 deletions 01-providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,7 @@ terraform {
source = "hashicorp/azurerm"
version = "~> 3.79.0"
}
azapi = {
source = "azure/azapi"
version = "~>1.5"
}
random = {
source = "hashicorp/random"
version = "~>3.0"
}
azuread = {
source = "hashicorp/azuread"
version = "2.47.0"
}
}

required_version = "~> 1.6.3"
}
6 changes: 0 additions & 6 deletions example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,3 @@ provider "azurerm" {
client_secret = var.azure_client_secret
tenant_id = var.azure_tenant_id
}

provider "azuread" {
client_id = var.azure_client_id
client_secret = var.azure_client_secret
tenant_id = var.azure_tenant_id
}

0 comments on commit a3b62ab

Please sign in to comment.