We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa886d2 + 80b3d4e commit a1a0c3cCopy full SHA for a1a0c3c
main.tf
@@ -48,6 +48,11 @@ resource "azurerm_mssql_server_transparent_data_encryption" "this" {
48
key_vault_key_id = var.key_vault_key_id
49
auto_rotation_enabled = var.auto_rotation_enabled
50
51
+ # When automated TDE Key rotation is enabled, it is required to ignore new Key id for state consistency.
52
+ lifecycle {
53
+ ignore_changes = [key_vault_key_id]
54
+ }
55
+
56
depends_on = [azurerm_key_vault_access_policy.tde_policy]
57
}
58
0 commit comments