mongodb

cloud-native-toolkit/mongodb/ibm

Terraform Module HCL IBM

Terraform module to provision an instance of Databases for MongoDB into the account

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

Databases for MongoDB terraform module This terraform module will provision an instance of MongoDB into an account. If the key protect values are provided then it will provision the instance using the provided encryption key. Software dependencies The module depends on the following software components: Command-line tools - terraform - v12 - kubectl Terraform providers - IBM Cloud provider >= 1.17.0 Module dependencies This module makes use of the output from other modules: - Cluster - github.com/ibm-garage-cloud/terraform-ibm-container-platform.git Example usage Refer Test Cases for more details ``hcl-terraform module "dev_infrastructure_mongodb" { source = "github.com/ibm-garage-cloud/terraform-ibm-mongodb.git?ref=v1.0.0" resource_group_name = module.dev_cluster.resource_group_name resou

Inputs (11)
NameTypeDescriptionDefault
resource_group_namestringResource group where the cluster has been provisioned. required
resource_locationstringGeographic location of the resource (e.g. us-south, us-east) required
name_prefixstringThe prefix name for the service. If not provided it will default to the resource""
rolestringThe role of the generated credential (Viewer, Administrator, Operator, Editor)"Editor"
key-protect-keystringThe name of the key in the Key Protect instance""
key-protect-regionstringThe region where the Key Protect instance has been provisioned. If not provided ""
key-protect-resource-groupstringThe resource group where the Key Protect instance has been provisioned. If not p""
key-protect-namestringThe name of the Key Protect instance""
authorize-kmsboolFlag indicating that the authorization for MongoDB to read keys in the KMS shoulfalse
tagslist(string)Tags that should be applied to the service[]
planstringThe type of plan the service instance should run under (standard)"standard"
Outputs (7)
port — The port for the database instance
database_name — The database name for the database instance
username — The username for the database instance
password — The password for the database instance
ca_cert — The ca_cert used to sign the TLS certificate for the connection, if applicable
type — The type of the database (mongodb)
host — The host name for the database instance
Resources (4)
ibm_iam_authorization_policyibm_resource_instanceibm_resource_keynull_resource
Details
FrameworkTerraform Module
LanguageHCL
Version1.2.0
Cloud IBM
★ Stars0
Forks0
Total downloads113
Inputs11
Outputs7
Resources4
Namespacecloud-native-toolkit
Updated