Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

When deploying AKS to AzGov, get an error on Policy Definition Not Found #185

Open
jrspinella opened this issue Oct 27, 2022 · 0 comments
Open
Assignees
Labels
bicep Related to Bicep code bug Something isn't working core New feature or request enclaves Bring it all together to enable the rapid, repeatable, auditable, and authorizable deployment of out platforms Combine Overlays and AzResources to lay the networking required to support mission workloads. workloads Combine Overlays and AzResources to create solutions that achieve mission and operational goals.

Comments

@jrspinella
Copy link
Contributor

Describe the bug
When deploying AKS to AzGov, get an error on Policy Definition Not Found and gives this error:

{\\r\\n \\\"error\\\": {\\r\\n \\\"code\\\": \\\"PolicyDefinitionNotFound\\\",\\r\\n \\\"message\\\": \\\"The policy assignment create request is invalid. The policy definition '/providers/Microsoft.Authorization/policyDefinitions/64def556-fbad-4622-930e-72d1d5589bf5' could not be found.\\\"\\r\\n }

To Reproduce
Steps to reproduce the behavior:

  1. Run platform hub/3 spoke with AKS Enclave or AKS WL Spoke
  2. See the error

Expected behavior
Deployment is supposed to work without this error

Software versions used:

  • Azure CLI version [v2.23.0]
  • Azure Bicep version [v0.6.8]
@jrspinella jrspinella added bug Something isn't working bicep Related to Bicep code core New feature or request platforms Combine Overlays and AzResources to lay the networking required to support mission workloads. workloads Combine Overlays and AzResources to create solutions that achieve mission and operational goals. enclaves Bring it all together to enable the rapid, repeatable, auditable, and authorizable deployment of out labels Oct 27, 2022
@jrspinella jrspinella added this to the NoOps V1 Release milestone Oct 27, 2022
@jftl6y jftl6y self-assigned this Jan 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bicep Related to Bicep code bug Something isn't working core New feature or request enclaves Bring it all together to enable the rapid, repeatable, auditable, and authorizable deployment of out platforms Combine Overlays and AzResources to lay the networking required to support mission workloads. workloads Combine Overlays and AzResources to create solutions that achieve mission and operational goals.
Projects
None yet
Development

No branches or pull requests

2 participants