Skip to content

Commit

Permalink
Upgrade to AzureAD provider v3
Browse files Browse the repository at this point in the history
  • Loading branch information
shibayan committed Sep 27, 2024
1 parent f9c1b3e commit 35b3fa4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ provider "azurerm" {

terraform {
required_providers {
azurerm = "~> 3.0"
azuread = "~> 2.0"
azurerm = "~> 4.0"
azuread = "~> 3.0"
}
}

Expand Down Expand Up @@ -89,7 +89,7 @@ resource "azuread_service_principal" "default" {

resource "azuread_application_password" "default" {
application_id = azuread_application.default.id
end_date_relative = "8640h"
end_date = timeadd(timestamp(), "8760h")

rotate_when_changed = {
rotation = time_rotating.default.id
Expand Down

0 comments on commit 35b3fa4

Please sign in to comment.