From 35b3fa4a0bb14b0c5d7465786eac3dab4090015d Mon Sep 17 00:00:00 2001 From: Tatsuro Shibamura Date: Fri, 27 Sep 2024 14:03:49 +0900 Subject: [PATCH] Upgrade to AzureAD provider v3 --- example/main.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/main.tf b/example/main.tf index 6ad2c6b..c020698 100644 --- a/example/main.tf +++ b/example/main.tf @@ -8,8 +8,8 @@ provider "azurerm" { terraform { required_providers { - azurerm = "~> 3.0" - azuread = "~> 2.0" + azurerm = "~> 4.0" + azuread = "~> 3.0" } } @@ -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