CORS is a feature for HTTP communication that manages how a web page calls an API under a different domain. This feature is important to configure properly since web browsers now have restrictions for same-origin policies. For more information, see the Azure documentation.
References:
https://learn.microsoft.com/en-us/rest/api/storageservices/cross-origin-resource-sharing--cors--support-for-the-azure-storage-services
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
In Azure Console -
In Terraform -
References:
https://learn.microsoft.com/en-us/rest/api/storageservices/cross-origin-resource-sharing--cors--support-for-the-azure-storage-services
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_account#cors_rule