Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Role assignment existence check in containerRegistry.bicep #333

Open
aazherelyeu opened this issue Nov 7, 2024 · 2 comments
Open

Role assignment existence check in containerRegistry.bicep #333

aazherelyeu opened this issue Nov 7, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@aazherelyeu
Copy link

Emailed to Matthew some time ago about this issue.

After successfully running of the IPAM deployment, if it's reran again you will encounter the following issue:

New-AzSubscriptionDeployment : 12:42:11 PM - The deployment 'ipamInfraDeploy-20241018124054PM' failed with error(s). Showing 1 out of 1 error(s).
Status Message: At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details. (Code: DeploymentFailed)
 - The role assignment already exists. (Code:RoleAssignmentExists)

The bicep (containerRegistry.bicep) needs to be updated with a check for role assignment existence.

Please let me know once the bicep is updated.

@DCMattyG DCMattyG self-assigned this Nov 20, 2024
@DCMattyG DCMattyG added the enhancement New feature or request label Nov 20, 2024
@DCMattyG
Copy link
Contributor

Hi there @aazherelyeu, apologies for the delay in my response on this item. I have made the changes in the code for the next version of Azure IPAM (v3.5) and I'm testing everything now. The new version should be available soon, thank you so much for bringing this issue to my attention.

@DCMattyG
Copy link
Contributor

Hi @aazherelyeu, this has now been addressed with the release of Azure IPAM v3.5.0

Release Notes: https://github.com/Azure/ipam/releases/tag/v3.5.0

All resources, including the Container Registry, now have a stable identifier. Please give it a try and let me know if there are any other Bicep issues.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants