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¶
- Review and update the Terraform variable template.
- Sign in with
az loginand select the target subscription. - Run
terraform init, then reviewterraform plan -var-file terraform.tfvars. - Apply the approved plan with
terraform apply -var-file terraform.tfvars.
For prerequisites, screenshots, and the complete provisioning procedure, see the Terraform deployment guide.