hpcs
cloud-native-toolkit/hpcs/ibm
Terraform module to provision Hyper Protect Crypto Service
HPCS terraform module Provisions an instance of hpcs in the account. Example usage ``terraform-hcl 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 } `` Post install steps Once a Hyper Protect Crypto Service has been provisioned, i
| Name | Type | Description | Default |
|---|---|---|---|
| resource_group_name | string | Resource group where the cluster has been provisioned. | required |
| region | string | Geographic location of the resource (e.g. us-south, us-east) | required |
| name_prefix | string | The prefix name for the service. If not provided it will default to the resource | "" |
| plan | string | The type of plan the service instance should run under (tiered-pricing) | "standard" |
| tags | list(string) | Tags that should be applied to the service | [] |
| number_of_crypto_units | number | No of crypto units that has to be attached to the instance. | 2 |
| label | string | The label that will be used to generate the name from the name_prefix. | "hpcs" |
| private_endpoint | string | Flag indicating that the service should be created with private endpoints | "true" |
| provision | bool | Flag indicating that hpcs instance should be provisioned. If 'false' then the in | false |
| name | string | The name that should be used for the service, particularly when connecting to an | "" |
| skip | bool | Flag indicating that the logic should be skipped (i.e. don't do anything) | false |
id — The id of the provisioned HPCS instance.guid — The id of the provisioned HPCS instance.location — The location of the provisioned HPCS instanceservice — The name of the key provisioned for the HPCS instancelabel — The label for the redis instancepublic_url — The public endpoint for the resourceprivate_url — The private endpoint for the resourcename — The name of the provisioned HPCS instance.crn — The id of the provisioned HPCS instance