Open Gordonby opened 1 year ago
Raised option 3 in the AKS repo.
Thanks for reporting @Gordonby. + @khowling what is the impact on the above?
Thanks for reporting @Gordonby. + @khowling what is the impact on the above?
The impact is that ;
@mosabami to review next steps.
@pjlewisuk will be discussing this with @Gordonby and @samaea
Describe the bug During full deployment tests in the CI/CD pipeline, we get an error because of the state of the environment we're deploying to.
To Reproduce
Expected behavior Environment considerations are properly reset so deployment tests can run.
Additional context
The role assignment thats having the problem is the RG Reader role for AppGw;
The reason it's having a problem is because the name isn't unique. It's using a static 'Agic' string instead of an identifier to the identity such as principalId. This is because the identity is not known before main.bicep is launched, therefore it cannot form part of the name.
I see 3 options for resolution;