Closed danielcayer closed 1 year ago
Hi @danielcayer, when creating the deployment, did you also supply a pre-existing user assigned managed identity (as documented here: https://github.com/F5Networks/f5-azure-arm-templates-v2/tree/main/examples/failover#prerequisites)?
Ah! Thank you Mike!
I missed that pre-requisite for the user assigned managed identity because the README indicates that it is optional and that it will be created automatically if one is not provided.
Sincères salutations,
Daniel Cayer +1-613-868-1535<tel:+1-613-868-1535> | @.**@.>
From: Mike Shimkus @.> Date: Wednesday, September 21, 2022 at 10:20 PM To: F5Networks/f5-azure-arm-templates-v2 @.> Cc: Daniel Cayer @.>, Mention @.> Subject: Re: [F5Networks/f5-azure-arm-templates-v2] Deployment Failed due to Parent resource not found (Issue #20)
Hi @danielcayerhttps://github.com/danielcayer, when creating the deployment, did you also supply a pre-existing user assigned managed identity (as documented here: https://github.com/F5Networks/f5-azure-arm-templates-v2/tree/main/examples/failover#prerequisites)?
— Reply to this email directly, view it on GitHubhttps://github.com/F5Networks/f5-azure-arm-templates-v2/issues/20#issuecomment-1254430360, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGX6DR5QYOFRQZT74HOLIS3V7O675ANCNFSM6AAAAAAQSTLGIY. You are receiving this because you were mentioned.Message ID: @.***>
Closing. Please open another issue if needed.
Describe the bug
Deployment fails because the bigIpPasswordSecretId is not found within the resource group which the ARM template creates.
Expected behavior
The deployment should allow the bigIpPasswordSecretId to be in a pre-existing resource group.
Current behavior
Deployment fails in the accessTemplate resource with the following Operation Detail: { "status": "Failed", "error": { "code": "DeploymentFailed", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.", "details": [ { "code": "NotFound", "message": "{\r\n \"error\": {\r\n \"code\": \"ParentResourceNotFound\",\r\n \"message\": \"Can not perform requested operation on nested resource. Parent resource 'cayerkeyvault' not found.\"\r\n }\r\n}" } ] } }
Within the child accessTemplate, the Operation Detail of the corresponding failed resource deployment is as follows: { "status": "Failed", "error": { "code": "ParentResourceNotFound", "message": "Can not perform requested operation on nested resource. Parent resource 'cayerkeyvault' not found." } }
Possible solution
Comments under issue #16 indicate that this issue should have been resolved in this version of the ARM template (v2.4.0.0)???
Steps to reproduce
Context
I cannot use this template to create a new stack.
Your Environment
tried to deploy to Canada Central and to Canada East regions with same failed result.