@@ -39,6 +39,7 @@ The following resources are used by this module:
3939- [ azurerm_linux_web_app.this] ( https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/linux_web_app ) (resource)
4040- [ azurerm_linux_web_app_slot.this] ( https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/linux_web_app_slot ) (resource)
4141- [ azurerm_management_lock.pe] ( https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/management_lock ) (resource)
42+ - [ azurerm_management_lock.slot] ( https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/management_lock ) (resource)
4243- [ azurerm_management_lock.storage_account] ( https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/management_lock ) (resource)
4344- [ azurerm_management_lock.this] ( https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/management_lock ) (resource)
4445- [ azurerm_monitor_diagnostic_setting.this] ( https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/monitor_diagnostic_setting ) (resource)
@@ -1038,6 +1039,11 @@ map(object({
10381039 value = optional(string)
10391040 })), {})
10401041
1042+ lock = optional(object({
1043+ kind = string
1044+ name = optional(string, null)
1045+ }), null)
1046+
10411047 logs = optional(map(object({
10421048 application_logs = optional(map(object({
10431049 azure_blob_storage = optional(object({
@@ -1242,6 +1248,14 @@ map(object({
12421248
12431249Default: ` {} `
12441250
1251+ ### <a name =" input_deployment_slots_inherit_lock " ></a > [ deployment\_ slots\_ inherit\_ lock] ( #input\_ deployment\_ slots\_ inherit\_ lock )
1252+
1253+ Description: Whether to inherit the lock from the parent resource for the deployment slots.
1254+
1255+ Type: ` bool `
1256+
1257+ Default: ` true `
1258+
12451259### <a name =" input_diagnostic_settings " ></a > [ diagnostic\_ settings] ( #input\_ diagnostic\_ settings )
12461260
12471261Description: A map of diagnostic settings to create on the Key Vault. The map key is deliberately arbitrary to avoid issues where map keys maybe unknown at plan time.
@@ -1354,6 +1368,14 @@ Type: `string`
13541368
13551369Default: ` null `
13561370
1371+ ### <a name =" input_function_app_storage_account_inherit_lock " ></a > [ function\_ app\_ storage\_ account\_ inherit\_ lock] ( #input\_ function\_ app\_ storage\_ account\_ inherit\_ lock )
1372+
1373+ Description: Should the Storage Account inherit the lock from the parent resource? Defaults to ` true ` .
1374+
1375+ Type: ` bool `
1376+
1377+ Default: ` true `
1378+
13571379### <a name =" input_function_app_storage_account_name " ></a > [ function\_ app\_ storage\_ account\_ name] ( #input\_ function\_ app\_ storage\_ account\_ name )
13581380
13591381Description: The name of the Storage Account to deploy the Function App in.
@@ -1969,14 +1991,22 @@ The following outputs are exported:
19691991
19701992Description: The application insights resource.
19711993
1994+ ### <a name =" output_deployment_slot_locks " ></a > [ deployment\_ slot\_ locks] ( #output\_ deployment\_ slot\_ locks )
1995+
1996+ Description: The locks of the deployment slots.
1997+
19721998### <a name =" output_identity_principal_id " ></a > [ identity\_ principal\_ id] ( #output\_ identity\_ principal\_ id )
19731999
1974- Description: value
2000+ Description: The object principal id of the resource.
19752001
19762002### <a name =" output_name " ></a > [ name] ( #output\_ name )
19772003
19782004Description: The name of the resource.
19792005
2006+ ### <a name =" output_private_endpoint_locks " ></a > [ private\_ endpoint\_ locks] ( #output\_ private\_ endpoint\_ locks )
2007+
2008+ Description: The locks of the deployment slots.
2009+
19802010### <a name =" output_resource " ></a > [ resource] ( #output\_ resource )
19812011
19822012Description: This is the full output for the resource.
@@ -1985,6 +2015,10 @@ Description: This is the full output for the resource.
19852015
19862016Description: This is the full output for the resource.
19872017
2018+ ### <a name =" output_resource_lock " ></a > [ resource\_ lock] ( #output\_ resource\_ lock )
2019+
2020+ Description: The locks of the resources.
2021+
19882022### <a name =" output_resource_private_endpoints " ></a > [ resource\_ private\_ endpoints] ( #output\_ resource\_ private\_ endpoints )
19892023
19902024Description: A map of private endpoints. The map key is the supplied input to var.private\_ endpoints. The map value is the entire azurerm\_ private\_ endpoint resource.
@@ -2001,6 +2035,10 @@ Description: The service plan resource.
20012035
20022036Description: The storage account resource.
20032037
2038+ ### <a name =" output_storage_account_lock " ></a > [ storage\_ account\_ lock] ( #output\_ storage\_ account\_ lock )
2039+
2040+ Description: The locks of the resources.
2041+
20042042### <a name =" output_system_assigned_mi_principal_id " ></a > [ system\_ assigned\_ mi\_ principal\_ id] ( #output\_ system\_ assigned\_ mi\_ principal\_ id )
20052043
20062044Description: value
0 commit comments