Skip to content

Terraform Deployment Template

Use the Terraform template in this repository to provision the Azure resources for the PDF invoice-processing solution.

Review values before applying

The supplied terraform.tfvars is a demo configuration. Review resource names, regions, subscription constraints, access requirements, and any values that are specific to your environment before applying it.

Template files

File Purpose
main.tf Defines the infrastructure resources and their relationships.
variables.tf Declares configurable template inputs.
terraform.tfvars Provides the demo deployment values to adapt for your environment.
provider.tf Configures Terraform providers.
outputs.tf Exposes created resource and application details.

Deployment flow

graph TD A[az login] --> B[terraform init] B --> C{Terraform provisioning stage} C -->|Review| D[terraform plan] C -->|Apply| E[terraform apply] C -->|Remove resources| F[terraform destroy]

Deploy

  1. Review and update the Terraform variable template.
  2. Sign in with az login and select the target subscription.
  3. Run terraform init, then review terraform plan -var-file terraform.tfvars.
  4. Apply the approved plan with terraform apply -var-file terraform.tfvars.

For prerequisites, screenshots, and the complete provisioning procedure, see the Terraform deployment guide.