-
Notifications
You must be signed in to change notification settings - Fork 14
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
Deploying to Azure API manager removes manually uploaded certificates, without mentioning it in review. #384
Comments
Does the template being deployed use modules? I'm curious if this is an example of short-circuiting or if the certificates are omitted from the GET response. |
Yep, it's a main file referencing a local module with the API manager resource. |
What parameters are passed to the local module? If any of them are runtime values (e.g., If you share the full template or a simplified reproduction, it'd be easier to troubleshoot. |
We are using references as input to the module for a couple of different resources, and the rest is coming directly from a parameter json file. This is our main:
Here are the module (smplfed)
|
There is a fix in private preview, but wider rollout is currently blocked due to holiday deployment freezes. Please see the linked issue for more details. |
Bicep version
Build on an Azure Build Agent:
Describe the bug
When running a WhatIf deployment, to Azure API manager, it lists NoChanges.
After running the actual deployment, deploying changes around the API manager, the manually (click-ops) uploaded certificates are removed from the API manager, resulting in runtime issues.
To Reproduce
Additional context
It does make sense in some way, the certificate is not part of the IaC, so when deploying the API manager, obviously it shouldn't be there. But it should at least list that it is about to make a change, and not claim that there is no changes about to happen.
Before the deployment, the manual uploaded certificate:
The text was updated successfully, but these errors were encountered: