Wed Aug 09 2023
0.3.34
New Resources
NAT Gateway
- The resource implementation is now available
Public IP Addresses
- The resource implementation is now available
Public IP Prefixes
- The resource implementation is now available
Changes
App Service
Option added to disable
WEBSITE_RUN_FROM_PACKAGEenvironment variableTags will now properly be propagated to App Service slots
Function Apps connected to a subnet used by a NAT Gateway will enable the vnetRouteAllEnabled traffic parameter
Function App names are now limited to 32 characters to match the Storage Account limit
Added a
slotparameter to App Settings to define whether the setting is for the slot or the masterbreaking changefunction apps no longer can bind to a Key Vault via thekeyvaultkey to insert it's default key directly upon deployment. This change is not one we wanted to make, but due to the nature of the WEBSITE_RUN_FROM_PACKAGE setting, uploading the key required some settings gymnastics that would cause the function app to become unstablebreaking changeapp service slots have moved fromdeploy_slottoslot_settings
"slot_settings": {
"enabled": true,
"name": "staging" (optional)
}
Log Analytics
- Log analytics workspaces can now bind to a Key Vault to insert it's workspace id and key via the
workspace_id&workspace_keykeys.
Example
{
"log_analytics": {
"name": "log-example-{env}",
"sku": "Standalone",
"keyvault": {
"name": "kv-example-{env}",
"secrets": {
"workspace_id": "nameOfSecret",
"workspace_key": "nameOfSecret"
}
}
}
}
Redis
- Redis instances can now bind to a Key Vault to insert it's connection string and password via the
connection_string&passwordkeys.
Example
{
"redis": {
"name": "redis-example-{env}",
"sku": "Basic",
"tier": 0,
"keyvault": {
"name": "kv-example-{env}",
"secrets": {
"connection_string": "nameOfSecret",
"password": "nameOfSecret"
}
}
}
}
Storage Account
- Storage Accounts can now insert it's primary key via the
primary_keykey next to theconnection_stringkey.
Example
{
"storage_account": {
"name": "satexample{env}",
"sku": "Standard_LRS",
"kind": "StorageV2",
"keyvault": {
"name": "kv-example-{env}",
"secrets": {
"connection_string": "nameOfSecret",
"primary_key": "nameOfSecret"
}
}
}
}
Virtual Networks
- subnets can now bind to a NAT Gateway resource with the
nat_gateway_nameparameter
Commands
- The
updatecommand is now available. Try it withhulk update