Skip to content

Commit

Permalink
Choose different names for name-conflicted resources
Browse files Browse the repository at this point in the history
  • Loading branch information
russdaygh committed Apr 23, 2024
1 parent 8305e5b commit f469451
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion terraform/api_server.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ resource "azurerm_service_plan" "api_server_service_plan" {


resource "azurerm_linux_web_app" "api_server_web_app" {
name = "${local.resource_prefix}-api-server"
name = "${local.resource_prefix}-api-server-web-app"
resource_group_name = azurerm_resource_group.rg.name
location = azurerm_service_plan.api_server_service_plan.location
service_plan_id = azurerm_service_plan.api_server_service_plan.id
Expand Down
2 changes: 1 addition & 1 deletion terraform/keyvault.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
data "azurerm_client_config" "current" {}

resource "azurerm_key_vault" "key_vault" {
name = "${local.resource_prefix}-keyvault"
name = "${local.resource_prefix}-secrets-keyvault"
location = azurerm_resource_group.rg.location
resource_group_name = azurerm_resource_group.rg.name
enabled_for_disk_encryption = true
Expand Down

0 comments on commit f469451

Please sign in to comment.