-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Container app now uses user managed identity instead of system one.
- Loading branch information
1 parent
c0a0ffc
commit 00d782e
Showing
19 changed files
with
61 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# ------------------------------------------------------------------------------ | ||
# Container Apps Environment. | ||
# ------------------------------------------------------------------------------ | ||
data "azurerm_container_app_environment" "mil" { | ||
name = "${local.project}-cae" | ||
resource_group_name = "${local.project}-app-rg" | ||
} | ||
|
||
# ------------------------------------------------------------------------------ | ||
# Identity for this Container App. | ||
# ------------------------------------------------------------------------------ | ||
data "azurerm_user_assigned_identity" "auth" { | ||
resource_group_name = "${local.project}-identity-rg" | ||
name = "${var.prefix}-${var.env_short}-auth-identity" | ||
} | ||
|
||
# ------------------------------------------------------------------------------ | ||
# General purpose key vault used to protect secrets. | ||
# ------------------------------------------------------------------------------ | ||
data "azurerm_key_vault" "general" { | ||
name = "${local.project}-general-kv" | ||
resource_group_name = "${local.project}-sec-rg" | ||
} | ||
|
||
# ------------------------------------------------------------------------------ | ||
# Key vault for cryptographics operations. | ||
# ------------------------------------------------------------------------------ | ||
data "azurerm_key_vault" "auth" { | ||
name = "${local.project}-auth-kv" | ||
resource_group_name = "${local.project}-sec-rg" | ||
} | ||
|
||
# ------------------------------------------------------------------------------ | ||
# Storage account containing configuration files. | ||
# ------------------------------------------------------------------------------ | ||
data "azurerm_storage_account" "auth" { | ||
name = "${var.prefix}${var.env_short}authst" | ||
resource_group_name = "${local.project}-data-rg" | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
locals { | ||
project = "${var.prefix}-${var.env_short}" | ||
|
||
domain = "mil" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters