Provisions an instance of hpcs in the account.
terraform {
required_providers {
ibm = {
source = "ibm-cloud/ibm"
}
}
required_version = ">= 0.13"
}
provider "ibm" {
ibmcloud_api_key = var.ibmcloud_api_key
region = var.region
}
module "dev_infrastructure_hpcs" {
source = "github.com/ibm-garage-cloud/terraform-ibm-key-hpcs?ref=v1.0.0"
resource_group_name = module.dev_cluster.resource_group_name
resource_location = module.dev_cluster.region
cluster_id = module.dev_cluster.id
namespaces = []
namespace_count = 0
name_prefix = var.name_prefix
tags = []
plan = "standard"
service_endpoints = var.service_endpoints
number_of_crypto_units = var.number_of_crypto_units
}
Once a Hyper Protect Crypto Service has been provisioned, it must be initialized before it can be used. Currently, the initialization process must be performed manually. The following steps must be followed to complete the initialization - https://cloud.ibm.com/docs/hs-crypto?topic=hs-crypto-initialize-hsm