- terraform 11 cli
- DNS domain hosted by azure
- Terrafrom License file
- SSL certificate (2048) wildcard
- azure login
- service principal id
variable "object_id" {}
variable "application_id" {}
variable "certificate_path" {}
variable "cert_password" {}
variable "license_file" {}
variable "domain" {}
variable "domain_rg_name" {}
variable "prefix" {}
variable "owner_name" {}
variable "location" {}
variable "resource_prefix" {}
You can do this with a terraform.tfvars file or you could use terraform cloud.
Run the commands
terraform init
terraform plan
terraform apply