github.com/darmach/terratest@v0.34.8-0.20210517103231-80931f95e3ff/examples/azure/terraform-azure-actiongroup-example/variables.tf (about) 1 # --------------------------------------------------------------------------------------------------------------------- 2 # ENVIRONMENT VARIABLES 3 # Define these secrets as environment variables 4 # --------------------------------------------------------------------------------------------------------------------- 5 6 # --------------------------------------------------------------------------------------------------------------------- 7 # REQUIRED PARAMETERS 8 # You must provide a value for each of these parameters. 9 # --------------------------------------------------------------------------------------------------------------------- 10 11 variable "resource_group_name" { 12 description = "Name of the resource group that exists in Azure" 13 type = string 14 } 15 16 variable "app_name" { 17 description = "The base name of the application used in the naming convention." 18 type = string 19 } 20 21 variable "location" { 22 description = "Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created." 23 type = string 24 } 25 26 variable "short_name" { 27 description = "Shorthand name for SMS texts." 28 type = string 29 } 30 31 # --------------------------------------------------------------------------------------------------------------------- 32 # OPTIONAL PARAMETERS 33 # These parameters have reasonable defaults. 34 # --------------------------------------------------------------------------------------------------------------------- 35 36 variable "enable_email" { 37 description = "Enable email alert capabilities" 38 type = bool 39 default = false 40 } 41 42 variable "email_name" { 43 description = "Friendly Name for email address" 44 type = string 45 default = "" 46 } 47 48 variable "email_address" { 49 description = "email address to send alerts to" 50 type = string 51 default = "" 52 } 53 54 variable "enable_sms" { 55 description = "Enable Texting Alerts" 56 type = bool 57 default = false 58 } 59 60 variable "sms_name" { 61 description = "Friendly Name for phone number" 62 type = string 63 default = "" 64 } 65 66 variable "sms_country_code" { 67 description = "Country Code for phone number" 68 type = number 69 default = 1 70 } 71 72 variable "sms_phone_number" { 73 description = "Phone number for text alerts" 74 type = number 75 default = 0 76 } 77 78 variable "enable_webhook" { 79 description = "Enable Web Hook Alerts" 80 type = bool 81 default = false 82 } 83 84 variable "webhook_name" { 85 description = "Friendly Name for web hook" 86 type = string 87 default = "" 88 } 89 90 variable "webhook_service_uri" { 91 description = "The full URI for the webhook" 92 type = string 93 default = "" 94 }