File tree Expand file tree Collapse file tree 3 files changed +10
-17
lines changed
Expand file tree Collapse file tree 3 files changed +10
-17
lines changed Original file line number Diff line number Diff line change @@ -328,14 +328,6 @@ Type: `map(string)`
328328
329329Default: ` {} `
330330
331- ### <a name =" input_user_identity_resource_id " ></a > [ user\_ identity\_ resource\_ id] ( #input\_ user\_ identity\_ resource\_ id )
332-
333- Description: The managed identity definition for this resource.
334-
335- Type: ` string `
336-
337- Default: ` "" `
338-
339331### <a name =" input_workload_profile_name " ></a > [ workload\_ profile\_ name] ( #input\_ workload\_ profile\_ name )
340332
341333Description: Workload profile name to pin for container app execution. If not set, workload profiles are not used.
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ resource "azapi_resource" "container_app" {
1010 parent_id = data. azurerm_resource_group . rg . id
1111 location = local. location
1212 tags = var. tags
13- identity {
14- type = var. user_identity_resource_id == " " ? " SystemAssigned" : " SystemAssigned, UserAssigned"
15- identity_ids = var. user_identity_resource_id == " " ? [] : [var . user_identity_resource_id ]
16- }
13+ # identity {
14+ # type = var.user_identity_resource_id == "" ? "SystemAssigned" : "SystemAssigned, UserAssigned"
15+ # identity_ids = var.user_identity_resource_id == "" ? [] : [var.user_identity_resource_id]
16+ # }
1717
1818 body = jsonencode ({
1919 properties = {
Original file line number Diff line number Diff line change @@ -15,11 +15,12 @@ variable "tags" {
1515 default = {}
1616}
1717
18- variable "user_identity_resource_id" {
19- type = string
20- description = " The managed identity definition for this resource."
21- default = " "
22- }
18+ # # fails - might be related to https://github.com/Azure/ResourceModules/issues/2391 ?
19+ # variable "user_identity_resource_id" {
20+ # type = string
21+ # description = "The managed identity definition for this resource."
22+ # default = ""
23+ # }
2324
2425variable "container_app_environment_resource_id" {
2526 type = string
You can’t perform that action at this time.
0 commit comments