Skip to content

Commit

Permalink
remove unused locals
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasisnes committed Jul 17, 2024
1 parent 6afc3c4 commit 8ce5888
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
5 changes: 4 additions & 1 deletion infrastructure/modules/dns/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ output "zones" {
{
id = azurerm_private_dns_zone.dns[key].id
name = value
} }
}
}

description = "Map of all private link DNS zones. The keys are the resource type name. e.g service_bus. Value contains the fields 'id' which is the ARM reference and name the domain"
}
6 changes: 0 additions & 6 deletions infrastructure/modules/key_vault/main.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
locals {

}

data "azurerm_client_config" "current" {}

# https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#security
data "azurerm_role_definition" "key_vault_administrator" {
role_definition_id = "00482a5a-887f-4fb3-b363-3b7fe8e74483"
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/shared/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module "key_vault" {
resource_group_name = azurerm_resource_group.authorization.name
metadata = local.metadata

###! Changing these deletes and creates new one(s)
###! Changing key or value deletes and creates a new one!
encryption_keys = {
service_bus = "ServiceBusEncryptionKey"
}
Expand Down

0 comments on commit 8ce5888

Please sign in to comment.