Deploy using Terraform
Overview
F5 NGINX as a Service for Azure (NGINXaaS) deployments can be managed using Terraform. This document outlines common Terraform workflows for NGINXaaS.
Prerequisites
- Confirm that you meet the NGINXaaS Prerequisites.
- Authenticate Terraform to Azure
- Install Terraform
Caution:
The examples in the NGINXaaS for Azure Snippets GitHub repository use the prerequisites module available in the same repository.
Create a deployment
You can find examples of Terraform configurations in the NGINXaaS for Azure Snippets GitHub repository
To create a deployment, use the following Terraform commands:
terraform init
terraform plan
terraform apply --auto-approve
Delete a deployment
Once the deployment is no longer needed, run the following to clean up the deployment and related resources:
terraform destroy --auto-approve
Additional resources
- If you’re just starting with Terraform, you can learn more on their official website.
- Terraform NGINX deployment documentation
Last modified June 4, 2024