key-protect
cloud-native-toolkit/key-protect/ibm
Terraform module to provision Key Protect into an account
Key Protect terraform module Provisions an instance of Key Protect in the account. Note: This module follows the Terraform conventions regarding how provider configuration is defined within the Terraform template and passed into the module - https://www.terraform.io/docs/language/modules/develop/providers.html. The default provider configuration flows through to the module. If different configuration is required for a module, it can be explicitly passed in the providers block of the module - https://www.terraform.io/docs/language/modules/develop/providers.html#passing-providers-explicitly. Example usage Refer to test cases for more details ``hcl-terraform terraform { required_providers { ibm = { source = "ibm-cloud/ibm" } } required_version = ">= 0.13" } provider "ibm" { ibmcloud_api_key =
| 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 |
| tags | list(string) | Tags that should be applied to the service | [] |
| plan | string | The type of plan the service instance should run under (tiered-pricing) | "tiered-pricing" |
| name | string | The name that should be used for the service, particularly when connecting to an | "" |
| name_prefix | string | The prefix name for the service. If not provided it will default to the resource | "" |
| provision | bool | Flag indicating that key-protect instance should be provisioned | true |
| private_endpoint | string | Flag indicating that the service should be created with private endpoints | "true" |
| label | string | The label used as generate the name of the resource using the name_prefix | "keyprotect" |
| skip | bool | Flag indicating that the logic should be skipped (i.e. don't do anything) | false |
id — The id of the provisioned instance.name — The name of the provisioned instance.private_url — The private endpoint for the resourceguid — The id of the provisioned instance.crn — The id of the provisioned instancelocation — The location of the provisioned instanceservice — The service name of the key provisioned for the instancelabel — The label for the instancepublic_url — The public endpoint for the resource