File tree Expand file tree Collapse file tree
infrastructure/modules/container-apps Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 if [[ -n "$PR_NUMBER" ]]; then
4848 pr_argument="prNumber=$PR_NUMBER"
4949 else
50- pr_argument=""
50+ pr_argument="$ENVIRONMENT "
5151 fi
5252
5353 source infrastructure/environments/$ENVIRONMENT/variables.sh
Original file line number Diff line number Diff line change 11data "azurerm_client_config" "current" {}
22
3- # This will be added back in once Groups Reader role is added to the GitHub MI
4- # data "azuread_group" "postgres_sql_admin_group" {
5- # display_name = var.postgres_sql_admin_group
6- # }
3+ data "azuread_group" "postgres_sql_admin_group" {
4+ display_name = var. postgres_sql_admin_group
5+ }
76
87data "azurerm_private_dns_zone" "storage" {
98 count = var. features . private_networking ? 1 : 0
Original file line number Diff line number Diff line change @@ -20,9 +20,7 @@ module "postgres" {
2020
2121 backup_retention_days = var. postgres_backup_retention_days
2222 geo_redundant_backup_enabled = var. postgres_geo_redundant_backup_enabled
23- # This will be added back in once Groups Reader role is added to the GitHub MI
24- # postgresql_admin_object_id = data.azuread_group.postgres_sql_admin_group.object_id
25- postgresql_admin_object_id = " 3466794b-ae91-4039-a834-c2d888c78a53"
23+ postgresql_admin_object_id = data. azuread_group . postgres_sql_admin_group . object_id
2624 postgresql_admin_principal_name = var. postgres_sql_admin_group
2725 postgresql_admin_principal_type = " Group"
2826 administrator_login = local. database_user
You can’t perform that action at this time.
0 commit comments