Skip to content

Commit

Permalink
Adding variables and outputs description
Browse files Browse the repository at this point in the history
  • Loading branch information
shibayan committed Nov 30, 2020
1 parent 9d1e94e commit 87b3a21
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 14 deletions.
6 changes: 4 additions & 2 deletions outputs.tf
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"
}
34 changes: 22 additions & 12 deletions variables.tf
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"
}

0 comments on commit 87b3a21

Please sign in to comment.