diff --git a/README.md b/README.md
index 9b3d49b..656ea3f 100644
--- a/README.md
+++ b/README.md
@@ -5,14 +5,14 @@
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.4 |
-| [azuread](#requirement\_azuread) | >= 2.47.0 |
+| [azuread](#requirement\_azuread) | >= 3.0.2 |
| [azurerm](#requirement\_azurerm) | >= 3.107.0 |
## Providers
| Name | Version |
|------|---------|
-| [azuread](#provider\_azuread) | >= 2.47.0 |
+| [azuread](#provider\_azuread) | >= 3.0.2 |
| [azurerm](#provider\_azurerm) | >= 3.107.0 |
## Modules
diff --git a/cluster_integration.tf b/cluster_integration.tf
index 5dcd10e..32d3919 100644
--- a/cluster_integration.tf
+++ b/cluster_integration.tf
@@ -11,7 +11,7 @@ resource "azuread_service_principal" "truefoundry_platform_features_service_prin
resource "azuread_service_principal_password" "truefoundry_platform_features_service_principal_password" {
count = var.platform_feature_enabled ? var.feature_cluster_integration_enabled ? 1 : 0 : 0
- service_principal_id = azuread_service_principal.truefoundry_platform_features_service_principal[0].object_id
+ service_principal_id = azuread_service_principal.truefoundry_platform_features_service_principal[0].id
display_name = local.service_principal_password
end_date = var.cluster_integration_service_principal_password_expiry_end_date
}
diff --git a/container.tf b/container.tf
index 67418fd..73853d3 100644
--- a/container.tf
+++ b/container.tf
@@ -1,11 +1,10 @@
resource "azurerm_storage_account" "truefoundry_platform_storage_account" {
- count = var.platform_feature_enabled ? var.feature_blob_storage_enabled ? 1 : 0 : 0
- name = local.storage_account_name
- resource_group_name = var.resource_group_name
- location = var.location
- account_tier = var.blob_storage_account_account_tier
- account_replication_type = var.blob_storage_account_replication_type
-
+ count = var.platform_feature_enabled ? var.feature_blob_storage_enabled ? 1 : 0 : 0
+ name = local.storage_account_name
+ resource_group_name = var.resource_group_name
+ location = var.location
+ account_tier = var.blob_storage_account_account_tier
+ account_replication_type = var.blob_storage_account_replication_type
enable_https_traffic_only = true
access_tier = "Hot"
min_tls_version = "TLS1_2"
diff --git a/versions.tf b/versions.tf
index 6904ce4..2f9272b 100644
--- a/versions.tf
+++ b/versions.tf
@@ -8,7 +8,7 @@ terraform {
}
azuread = {
source = "hashicorp/azuread"
- version = ">= 2.47.0"
+ version = ">= 3.0.2"
}
}
}