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 af73a9a + d3b4e24 commit 3b98d3cCopy full SHA for 3b98d3c
main.tf
@@ -19,6 +19,7 @@ resource "azurerm_mssql_server" "this" {
19
ignore_changes = [
20
administrator_login,
21
administrator_login_password,
22
+ transparent_data_encryption_key_vault_key_id
23
]
24
}
25
@@ -48,11 +49,6 @@ resource "azurerm_mssql_server_transparent_data_encryption" "this" {
48
49
key_vault_key_id = var.key_vault_key_id
50
auto_rotation_enabled = var.auto_rotation_enabled
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