hpdbaas-mongodb

cloud-native-toolkit/hpdbaas-mongodb/ibm

Terraform Module HCL IBM

Terraform module to provision a Hyper Protect DB as a Service MongoDB instance

Install
module "hpdbaas-mongodb" {
source = "cloud-native-toolkit/hpdbaas-mongodb/ibm"
version = "1.0.2"
}
plain text: /constructs/tfmod-cloud-native-toolkit-hpdbaas-mongodb-ibm/install.txt
⭐ Source on GitHub 📦 Registry page
README

HPDBAAS-MongoDB module Terraform module to provision an instance of HPDBAAS-MongoDB in cloud account. Software dependencies The module depends on the following software components: Command-line tools - terraform - v12 - kubectl Terraform providers - IBM Cloud provider >= 1.5.3 Module dependencies None Example usage ``hcl-terraform module "dev_infrastructure_hpdbaas_mongodb" { source = "github.com/ibm-garage-cloud/terraform-ibm-hpdbaas-mongodb.git?ref=v1.0.0" resource_group_name = var.resource_group_name resource_location = var.region name_prefix = "${var.name_prefix}_2" hpcs-region = var.hpcs-region hpcs-name = var.hpcs-name hpcs-key = var.hpcs-key authorize-kms = var.authorize-kms == "true" } ``

Inputs (18)
NameTypeDescriptionDefault
ibmcloud_api_keystringThe api key for IBM Cloud access required
cluster_namestringThe name of the database cluster required
resource_group_namestringResource group where the cluster has been provisioned. required
passwordstringThe password of database admin(15 characters minimum, at least one uppercase cha required
regionstringGeographic location of the resource (e.g. us-south, us-east) required
admin_namestringThe name of the database admin required
labelstringThe label used to build the database name, along with the name_prefix"hpdbaas-mongodb"
rolestringThe role of the generated credential (Viewer, Administrator, Operator, Editor)"Editor"
hpcs_instance_idstringThe id of the hpcs instance""
planstringThe type of plan the service instance should run under (mongodb-free, mongodb-fl"mongodb-free"
hpcs_keystringThe id of the key in the hpcs instance""
memorystringThe name of the database admin"3GiB"
tagslist(string)Tags that should be applied to the service[]
name_prefixstringThe prefix name for the service. If not provided it will default to the resource""
private_endpointstringFlag indicating that the service should be created with private endpoints"true"
cpustringThe name of the database admin"1"
provisionboolFlag indicating that the instance should be provisioned. If false then it assumetrue
storagestringThe name of the database admin"5GiB"
Resources (2)
ibm_resource_instancenull_resource
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.2
Cloud IBM
★ Stars0
Forks2
Total downloads113
Inputs18
Resources2
Namespacecloud-native-toolkit
Updated