From 87b3a2158ef926d74fd3df725223a86d97f2633e Mon Sep 17 00:00:00 2001 From: Tatsuro Shibamura Date: Tue, 1 Dec 2020 00:52:35 +0900 Subject: [PATCH] Adding variables and outputs description --- outputs.tf | 6 ++++-- variables.tf | 34 ++++++++++++++++++++++------------ 2 files changed, 26 insertions(+), 14 deletions(-) diff --git a/outputs.tf b/outputs.tf index 2084e1c..3e7ae5d 100644 --- a/outputs.tf +++ b/outputs.tf @@ -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" } \ No newline at end of file diff --git a/variables.tf b/variables.tf index ff190a3..093bf69 100644 --- a/variables.tf +++ b/variables.tf @@ -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" } \ No newline at end of file