Terraform variables
To declare variables, we will need to create a vars.tf file with the following data:
variable "subscription_id" {
type = string
description = "The azure subscription id"
}
variable "client_id" {
type = string
description = "The azure service principal appId"
}
variable "client_secret" {
type = string
description = "The azure service principal password"
sensitive = true
}
variable "tenant_id" {
type = string
description = "The azure tenant id"
}
So, we've defined four variables here using variable blocks. Variable blocks typically have a type and a description. The type attribute...