From e21a811ca427ae1e0a01f3253f724fe5bc43fc7e Mon Sep 17 00:00:00 2001 From: Kris Baranek Date: Tue, 14 Nov 2023 12:25:16 +0100 Subject: [PATCH] app/job module - fixed identity output name --- modules/app/job/README.md | 2 +- modules/app/job/main.bicep | 2 +- modules/app/job/main.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/app/job/README.md b/modules/app/job/README.md index 409d386465..9b55693da6 100644 --- a/modules/app/job/README.md +++ b/modules/app/job/README.md @@ -814,7 +814,7 @@ The name of the workload profile to use. | `name` | string | The name of the Container App Job. | | `resourceGroupName` | string | The name of the resource group the Container App Job was deployed into. | | `resourceId` | string | The resource ID of the Container App Job. | -| `systemAssignedPrincipalId` | string | The principal ID of the system assigned identity. | +| `systemAssignedMIPrincipalId` | string | The principal ID of the system assigned identity. | ## Cross-referenced modules diff --git a/modules/app/job/main.bicep b/modules/app/job/main.bicep index 96a6b5e99b..ee9795e632 100644 --- a/modules/app/job/main.bicep +++ b/modules/app/job/main.bicep @@ -159,7 +159,7 @@ output name string = containerAppJob.name output location string = containerAppJob.location @description('The principal ID of the system assigned identity.') -output systemAssignedPrincipalId string = (managedIdentities.?systemAssigned ?? false) && contains(containerAppJob.identity, 'principalId') ? containerAppJob.identity.principalId : '' +output systemAssignedMIPrincipalId string = (managedIdentities.?systemAssigned ?? false) && contains(containerAppJob.identity, 'principalId') ? containerAppJob.identity.principalId : '' // =============== // // Definitions // diff --git a/modules/app/job/main.json b/modules/app/job/main.json index 362eb2ba19..47a3c78d1e 100644 --- a/modules/app/job/main.json +++ b/modules/app/job/main.json @@ -6,7 +6,7 @@ "_generator": { "name": "bicep", "version": "0.23.1.45101", - "templateHash": "13367947560388494083" + "templateHash": "1177002150217044728" }, "name": "Container App Jobs", "description": "This module deploys a Container App Job.", @@ -389,7 +389,7 @@ }, "value": "[reference('containerAppJob', '2023-05-01', 'full').location]" }, - "systemAssignedPrincipalId": { + "systemAssignedMIPrincipalId": { "type": "string", "metadata": { "description": "The principal ID of the system assigned identity."