IBM Cloud Docs
Terraform samples for Hyper Protect Virtual Servers for VPC

Terraform samples for Hyper Protect Virtual Servers for VPC

You can use Terraform to automate operations with Hyper Protect Virtual Servers for VPC.

For more information about Terraform, see About Terraform on IBM Cloud.

To explore the Terraform samples for Hyper Protect Virtual Servers for VPC, go to the repository.

  1. Make sure you complete the preparation in the readme file first.
  2. The following list gives you an overview of the available samples. See the repo for the latest samples and the readme file in the subdirectory of each sample for detailed instructions.
  • create-contract - creates an encrypted and signed contract.
  • create-contract-dynamic-registry - creates an encrypted and signed contract with a dynamic registry reference. Related tutorial: Deploying an application on Hyper Protect Virtual Server for VPC.
  • hello-world - deploys the hello-world example as a Hyper Protect Virtual Server for VPC.
  • nginx-hello - deploys the nginx-hello example as a Hyper Protect Virtual Server for VPC.
  • mongodb - deploys three MongoDB instances on Hyper Protect Virtual Servers for VPC in three availability zones.
  • postgresql - deploys a PostgreSQL instance on a Hyper Protect Virtual Server for VPC in a region.
  • postgresql-cluster - deploys a PostgreSQL cluster on Hyper Protect Virtual Servers for VPC in given regions.
  • log-encryption - encrypts selected log messages.