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

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