Add certificates using Terraform

Overview

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

Prerequisites

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:

shell
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