pagopa / dx

Devex repository for shared tools and pipelines.
https://pagopa.github.io/dx/docs/
1 stars 0 forks source link

Fix Function App module issue against host ID collision #71

Closed Krusty93 closed 1 month ago

Krusty93 commented 1 month ago

List of changes

Fix the issue by adding AzureFunctionsWebHost__hostid a sticky setting.

Add validation to avoid double entry for AzureFunctionsWebHost__hostid key in case of is already passed by the client. Set APPINSIGHTS_SAMPLING_PERCENTAGE as sticky setting and set it to 100% for staging slot

Update azurerm provider and state file name

Motivation and context

An issue with host id collision was found. Steps to reproduce it:

Adding the key name in sticky setting list fixes the issue

Type of changes

Does this introduce a change to production resources with possible user impact?

Other information