-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add new vars
- Loading branch information
Showing
2 changed files
with
40 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,59 @@ | ||
variable "basename" { | ||
type = string | ||
description = "Basename of the module" | ||
description = "(Required) Basename of the module." | ||
} | ||
|
||
variable "rg_name" { | ||
type = string | ||
description = "Resource group name" | ||
description = "(Required) Resource group name." | ||
} | ||
|
||
variable "location" { | ||
type = string | ||
description = "Location of the resource group" | ||
description = "(Required) The Azure Region where the resource should exist." | ||
} | ||
|
||
variable "tags" { | ||
type = map(string) | ||
description = "(Optional) A mapping of tags which should be assigned to the deployed resource." | ||
default = {} | ||
description = "A mapping of tags which should be assigned to the deployed resource" | ||
} | ||
|
||
variable "storage_account_name" { | ||
type = string | ||
description = "The backend storage account name which will be used by this Function App" | ||
description = "(Optional) The backend storage account name which will be used by this Function App." | ||
} | ||
|
||
variable "storage_account_access_key" { | ||
type = string | ||
description = "The access key which will be used to access the backend storage account for the Function App" | ||
description = " (Optional) The access key which will be used to access the backend storage account for the Function App. Conflicts with storage_uses_managed_identity." | ||
} | ||
|
||
variable "service_plan_id" { | ||
type = string | ||
description = "The ID of the App Service Plan within which to create this Function App" | ||
description = " (Required) The ID of the App Service Plan within which to create this Function App." | ||
} | ||
|
||
variable "enabled" { | ||
type = bool | ||
description = "(Optional) Is the Function App enabled? Defaults to true." | ||
default = true | ||
} | ||
|
||
variable "https_only" { | ||
type = bool | ||
description = "(Optional) Can the Function App only be accessed via HTTPS? Defaults to false." | ||
default = false | ||
} | ||
|
||
variable "client_certificate_enabled" { | ||
type = bool | ||
description = "(Optional) Should the function app use Client Certificates." | ||
default = false | ||
} | ||
|
||
variable "virtual_network_subnet_id" { | ||
type = string | ||
description = "(Optional) The subnet id which will be used by this Function App for regional virtual network integration." | ||
default = null | ||
} |