V_B
V_B

Reputation: 1569

Azure Bicep script : Ignore some manual configuration

We are using Bicep script to deploy Infrastructure in Azure.

We have a pipeline that can deploy all configurations continuously to different environments. We did not allow any change done outside of our script.

Question

While working with APIM service we want to attach a Certificate that we can not deploy through Bicep as the Certificate is not with us.

If we did a manual change in the certificate, the next time my bicep script runs, it will override the change.

How can we handle that few manual changes will remain as it is, and will not be replaced by my script?

Upvotes: 0

Views: 1491

Answers (1)

Thomas
Thomas

Reputation: 29736

Using ARM/Bicep templates, if you don't specify a property it won't override what has been defined elsewhere for this property (This is more or less true.)

If you remove the certificates property from your Bicep template it should work.

Upvotes: 2

Related Questions