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_PACKAGE environment variable

  • Tags 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 slot parameter to App Settings to define whether the setting is for the slot or the master

  • breaking change function apps no longer can bind to a Key Vault via the keyvault key 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 unstable

  • breaking change app service slots have moved from deploy_slot to slot_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_key keys.

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 & password keys.

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_key key next to the connection_string key.

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_name parameter

Commands

  • The update command is now available. Try it with hulk update