-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding variables and outputs description
- Loading branch information
Showing
2 changed files
with
26 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
output "principal_id" { | ||
value = azurerm_function_app.function.identity.principal_id | ||
value = azurerm_function_app.function.identity.principal_id | ||
description = "Created Managed Identity Principal ID" | ||
} | ||
|
||
output "tenant_id" { | ||
value = azurerm_function_app.function.identity.tenant_id | ||
value = azurerm_function_app.function.identity.tenant_id | ||
description = "Created Managed Identity Tenant ID" | ||
} |
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,41 +1,51 @@ | ||
variable "function_app_name" { | ||
type = string | ||
type = string | ||
description = "The name of the Function App to create." | ||
} | ||
|
||
variable "app_service_plan_name" { | ||
type = string | ||
type = string | ||
description = "The name of the App Service Plan to create." | ||
} | ||
|
||
variable "storage_account_name" { | ||
type = string | ||
type = string | ||
description = "The name of the Storage Account to create." | ||
} | ||
|
||
variable "app_insights_name" { | ||
type = string | ||
type = string | ||
description = "The name of the Application Insights to create." | ||
} | ||
|
||
variable "location" { | ||
type = string | ||
type = string | ||
description = "Azure region to create resources." | ||
} | ||
|
||
variable "resource_group_name" { | ||
type = string | ||
type = string | ||
description = "Resource group name to be added." | ||
} | ||
|
||
variable "vault_uri" { | ||
type = string | ||
type = string | ||
description = "URL of the Key Vault to store the issued certificate." | ||
} | ||
|
||
variable "mail_address" { | ||
type = string | ||
type = string | ||
description = "Email address for ACME account." | ||
} | ||
|
||
variable "acme_endpoint" { | ||
type = string | ||
default = "https://acme-v02.api.letsencrypt.org/" | ||
type = string | ||
description = "Certification authority ACME Endpoint." | ||
default = "https://acme-v02.api.letsencrypt.org/" | ||
} | ||
|
||
variable "environment" { | ||
type = string | ||
default = "AzureCloud" | ||
type = string | ||
description = "The name of the Azure environment." | ||
default = "AzureCloud" | ||
} |