Skip to content

Commit

Permalink
fix: fixed code format
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudlovely committed Nov 17, 2023
1 parent ce81c13 commit adb2e2f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ resource "azurerm_role_assignment" "identity_assigned" {
## Below resource will will create key vault key that will be used for encryption.
##-----------------------------------------------------------------------------
resource "azurerm_key_vault_key" "kvkey" {
depends_on = [azurerm_role_assignment.identity_assigned]
count = var.enabled && var.default_enabled == false ? 1 : 0
name = format("storage-%s-cmk-key", module.labels.id)
expiration_date = "2023-12-31T18:29:59Z"
key_vault_id = var.key_vault_id
key_type = "RSA"
key_size = 2048
depends_on = [azurerm_role_assignment.identity_assigned]
count = var.enabled && var.default_enabled == false ? 1 : 0
name = format("storage-%s-cmk-key", module.labels.id)
expiration_date = "2023-12-31T18:29:59Z"
key_vault_id = var.key_vault_id
key_type = "RSA"
key_size = 2048
key_opts = [
"decrypt",
"encrypt",
Expand Down

0 comments on commit adb2e2f

Please sign in to comment.