Add certificates using Terraform

Overview

You can manage SSL/TSL certificates for F5 NGINX as a Service for Azure (NGINXaaS) using Terraform.

Prerequisites

Caution:
The examples in the NGINXaaS for Azure Snippets GitHub repository use the prerequisites module available in the same repository.

Upload and manage a certificate

You can find examples of Terraform configurations in the NGINXaaS for Azure Snippets GitHub repository

To create a deployment, add a certificate, and use it in a configuration, run the following 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


Last modified June 4, 2024