Skip to content

Commit

Permalink
Update container_apps.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
benchiverton committed Jul 1, 2024
1 parent 2e4daaa commit 64f85ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/instance/container_apps.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
data "azurerm_container_app_environment" "apps" {
name = "${lower(var.environment)}-${var.name}-containerapps"
name = "${var.name}-containerapps"
resource_group_name = "onlinestore-shared-rg"
}

resource "azurerm_container_app" "api" {
name = "${var.name}-api"
name = "${lower(var.environment)}-${var.name}-api"
container_app_environment_id = data.azurerm_container_app_environment.apps.id
resource_group_name = azurerm_resource_group.instance.name
revision_mode = "Single"
Expand Down

0 comments on commit 64f85ed

Please sign in to comment.