Skip to content

terraform-ibm-modules/terraform-ibm-db2-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Cloud Automation for DB2 SaaS

Graduated (Supported) latest release pre-commit Renovate enabled semantic-release

This module creates a DB2 instance on IBM Cloud

Overview

Reference architectures

db2-cloud

terraform-ibm-db2-cloud

Usage

module "db2" {
  source                      = "terraform-ibm-modules/db2-cloud/ibm"
  version                     = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
  db2_instance_name           = "my-db2-instance"
  resource_group_id           = "asdf1234"
  service_endpoints           = "public-and-private"
  enable_high_availability    = true
  enable_oracle_compatibility = false
  node_type                   = "bx2.4x16"
  tags                        = ["tag1", "tag2"]
}

Required access policies

You need the following permissions to run this module:

  • Service
    • dashdb-for-transactions service
      • Editor platform access
      • Manager service access

Requirements

Name Version
terraform >= 1.9.0
ibm >= 1.79.0, < 2.0.0

Modules

No modules.

Resources

Name Type
ibm_db2.db2 resource

Inputs

Name Description Type Default Required
db2_instance_name The name of the Db2 instance to create. string n/a yes
enable_high_availability Whether to enable high availability for the Db2 instance. bool false no
enable_oracle_compatibility Whether to enable compatibility with Oracle for the Db2 instance. bool false no
node_type The node type of the Db2 instance. Possible values are bx2.1x4, bx2.4x16, bx2.8x32, bx2.16x64, bx2.32.128, bx2.48x192, mx2.4x32, mx2.16x128, or mx2.128x1024. string "bx2.4x16" no
region The region where the Db2 instance is created. string "us-south" no
resource_group_id The ID of the resource group that contains the Db2 instance. string n/a yes
service_endpoints Service endpoints for the Db2 instance. Possible values are public, private, or public-and-private. string "public" no
subscription_id Value of the subscription ID to use with the subscription plan for Db2. string null no
tags The list of resource tags to associate with your Db2 instance. list(string) [] no

Outputs

Name Description
crn CRN of the Db2 instance.
dashboard_url Dashboard URL of the Db2 instance.
name Name of the Db2 instance.

Contributing

You can report issues and request features for this module in GitHub issues in the module repo. See Report an issue or request a feature.

To set up your local development environment, see Local development setup in the project documentation.

About

Provision a fully managed, high performance transactional database for mission critical workloads.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 15