module "acmebot" {
source = "polymind-inc/acmebot/azurerm"
version = "~> 1.0"
app_base_name = "acmebot-module"
resource_group_name = azurerm_resource_group.default.name
location = azurerm_resource_group.default.location
mail_address = "YOUR-EMAIL-ADDRESS"
vault_uri = azurerm_key_vault.default.vault_uri
azure_dns = {
subscription_id = data.azurerm_client_config.current.subscription_id
}
maximum_instance_count = 50
instance_memory_in_mb = 2048
}- Terraform
>= 1.3.0with thehashicorp/azurermprovider~> 4.0
- Secret inputs are marked as sensitive, but they are still stored in Terraform state when used to configure the Function App.
- Flex Consumption does not support
:in app setting keys, so the module usesAcmebot__...keys for nested configuration. additional_app_settingscannot override reservedAcmebot__*settings orMICROSOFT_PROVIDER_AUTHENTICATION_SECRET.- By default the module generates a deterministic storage account name with a hash suffix. To preserve an existing name during upgrades, set
storage_account_nameexplicitly. - The
api_keyoutput is disabled by default. Setexport_api_key = trueonly when you need Terraform to read and expose the default host key. - You can tune Flex Consumption behavior with
maximum_instance_count,instance_memory_in_mb, andpublic_network_access_enabled.
This project is licensed under the Apache License 2.0