Deploy using Terraform
F5 NGINXaaS for Azure (NGINXaaS) deployments can be managed using Terraform. This document outlines common Terraform workflows for NGINXaaS.
- Confirm that you meet the NGINXaaS Prerequisites.
- Authenticate Terraform to Azure
- Install Terraform
CautionThe examples in the NGINXaaS for Azure Snippets GitHub repository use the prerequisites module available in the same repository.
ImportantSystem-Assigned Managed Identity Required: Ensure your Terraform configuration includes the required system-assigned managed identity by settingidentity.type = "SystemAssigned"or"SystemAssigned, UserAssigned"for each 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-approveOnce the deployment is no longer needed, run the following to clean up the deployment and related resources:
terraform destroy --auto-approve- If you’re just starting with Terraform, you can learn more on their official website.
- Terraform NGINX deployment documentation