2.1.22¶
Release Date: November 21, 2025
✨ New Features¶
Terraform Modules¶
Static Website Hosting for Azure Storage Account 🌐¶
Module: azure-storage/modules/storageaccount
Added comprehensive support for static website hosting in the Azure Storage Account Terraform module. This feature enables developers to easily deploy static websites (HTML, CSS, JavaScript) directly from Azure Storage containers, providing a cost-effective solution for hosting static content, SPAs, or documentation sites.
Key Features:
- ✅ Enable/Disable Static Website - Simple boolean variable to toggle static website hosting
- ✅ Customizable Index Document - Configure the index document name (defaults to
index.html) - ✅ Automatic Container Creation - Azure automatically creates a
$webcontainer for website content - ✅ URL Outputs - Module outputs provide direct access to website URLs and hosts
Benefits:
- 🌐 Cost-effective static website hosting solution
- 🚀 Perfect for single-page applications (SPAs) and documentation sites
- 📊 Easy access to website URLs via module outputs
- ✅ Comprehensive testing with 3 test scenarios included
- 📖 Complete example and documentation provided
New Variables:
enable_static_website(bool, default:false) - Enable static website hosting for the storage accountstatic_website_index_document(string, default:"index.html") - The index document for the static website
New Outputs:
static_website_url- The primary web endpoint URL for the static websitestatic_website_host- The primary web host for the static website
Example:
module "static_website" {
source = "../../modules/storageaccount"
name = "mystaticwebsite"
location = "West US 2"
resource_group_name = azurerm_resource_group.example.name
enable_static_website = true
static_website_index_document = "index.html" # Optional, defaults to index.html
tags = {
Environment = "Production"
Purpose = "Static Website"
}
}
# Access the website URL
output "website_url" {
value = module.static_website.static_website_url
}
Documentation:
- Static Website Example (
src/terraform/azure-storage/examples/static-website/README.md) - Module Documentation (
src/terraform/azure-storage/modules/storageaccount/README.md)
Testing:
- Added comprehensive test suite with 3 scenarios:
- Static website disabled (default behavior)
- Static website enabled with default index document
- Static website enabled with custom index document
- All 31 module tests pass successfully
🔧 Enhancements¶
NuGet Packages¶
- ✅ Azure.Identity - Updated from 1.17.0 to 1.17.1 with MSAL dependency updates
NPM Packages¶
- ✅ vite - Updated from 7.2.2 to 7.2.4 with bug fixes and performance improvements in the dependencies group
🔄 Breaking Changes¶
None in this release ✅
All new features are opt-in and maintain backward compatibility. The static website hosting feature is disabled by default.
📋 Additional Notes¶
- Total commits: 7
- Files changed: 10 (+373 lines, -11 lines)
- Contributors: Brian Sheridan, Platform Build Service
Component Changes:
- Terraform Modules: Added static website hosting support
- Examples: New comprehensive static website example with documentation
- Tests: Added 3 new test scenarios for static website functionality
- Dependencies: Updated Azure.Identity (NuGet) and vite (NPM)
Test Coverage:
- ✅ All 31 storage account module tests pass
- ✅ New static website tests validate enabled/disabled states
- ✅ Custom index document configuration tested
Support¶
- 📧 Teams Support Channel: Support