{"id":22207555,"url":"https://github.com/terraform-ibm-modules/terraform-ibm-db2-cloud","last_synced_at":"2026-02-28T07:51:44.785Z","repository":{"id":265061168,"uuid":"869017653","full_name":"terraform-ibm-modules/terraform-ibm-db2-cloud","owner":"terraform-ibm-modules","description":"Provision a fully managed, high performance transactional database for mission critical workloads.","archived":false,"fork":false,"pushed_at":"2026-02-10T14:25:35.000Z","size":251,"stargazers_count":0,"open_issues_count":2,"forks_count":3,"subscribers_count":12,"default_branch":"main","last_synced_at":"2026-02-10T18:55:16.441Z","etag":null,"topics":["core-team","db2","deployable-architecture","ibm-cloud","supported","terraform","terraform-module"],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terraform-ibm-modules.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-07T15:20:58.000Z","updated_at":"2026-02-10T18:48:08.000Z","dependencies_parsed_at":"2024-12-13T02:23:39.882Z","dependency_job_id":"dacfd456-837f-404f-8084-4481b05673c9","html_url":"https://github.com/terraform-ibm-modules/terraform-ibm-db2-cloud","commit_stats":null,"previous_names":["terraform-ibm-modules/terraform-ibm-db2-cloud"],"tags_count":52,"template":false,"template_full_name":"terraform-ibm-modules/terraform-ibm-module-template","purl":"pkg:github/terraform-ibm-modules/terraform-ibm-db2-cloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraform-ibm-modules%2Fterraform-ibm-db2-cloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraform-ibm-modules%2Fterraform-ibm-db2-cloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraform-ibm-modules%2Fterraform-ibm-db2-cloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraform-ibm-modules%2Fterraform-ibm-db2-cloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terraform-ibm-modules","download_url":"https://codeload.github.com/terraform-ibm-modules/terraform-ibm-db2-cloud/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraform-ibm-modules%2Fterraform-ibm-db2-cloud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29441215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T07:24:13.446Z","status":"ssl_error","status_checked_at":"2026-02-14T07:23:58.969Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["core-team","db2","deployable-architecture","ibm-cloud","supported","terraform","terraform-module"],"created_at":"2024-12-02T19:13:30.712Z","updated_at":"2026-02-14T09:08:28.243Z","avatar_url":"https://github.com/terraform-ibm-modules.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- Update this title with a descriptive name. Use sentence case. --\u003e\n# Cloud Automation for DB2 SaaS\n\n\u003c!--\nUpdate status and \"latest release\" badges:\n  1. For the status options, see https://terraform-ibm-modules.github.io/documentation/#/badge-status\n  2. Update the \"latest release\" badge to point to the correct module's repo. Replace \"terraform-ibm-module-template\" in two places.\n--\u003e\n[![Graduated (Supported)](https://img.shields.io/badge/status-Graduated%20(Supported)-brightgreen?style=plastic)](https://terraform-ibm-modules.github.io/documentation/#/badge-status)\n[![latest release](https://img.shields.io/github/v/release/terraform-ibm-modules/terraform-ibm-db2-cloud?logo=GitHub\u0026sort=semver)](https://github.com/terraform-ibm-modules/terraform-ibm-db2-cloud/releases/latest)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit)\n[![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com/)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n\u003c!--\nAdd a description of modules in this repo.\nExpand on the repo short description in the .github/settings.yml file.\n\nFor information, see \"Module names and descriptions\" at\nhttps://terraform-ibm-modules.github.io/documentation/#/implementation-guidelines?id=module-names-and-descriptions\n--\u003e\n\nThis module creates a DB2 instance on IBM Cloud\n\n\u003c!-- The following content is automatically populated by the pre-commit hook --\u003e\n\u003c!-- BEGIN OVERVIEW HOOK --\u003e\n## Overview\n* [terraform-ibm-db2-cloud](#terraform-ibm-db2-cloud)\n* [Examples](./examples)\n:information_source: Ctrl/Cmd+Click or right-click on the Schematics deploy button to open in a new tab\n    * \u003ca href=\"./examples/advanced\"\u003eAdvanced example\u003c/a\u003e \u003ca href=\"https://cloud.ibm.com/schematics/workspaces/create?workspace_name=db2-cloud-advanced-example\u0026repository=https://github.com/terraform-ibm-modules/terraform-ibm-db2-cloud/tree/main/examples/advanced\"\u003e\u003cimg src=\"https://img.shields.io/badge/Deploy%20with IBM%20Cloud%20Schematics-0f62fe?logo=ibm\u0026logoColor=white\u0026labelColor=0f62fe\" alt=\"Deploy with IBM Cloud Schematics\" style=\"height: 16px; vertical-align: text-bottom; margin-left: 5px;\"\u003e\u003c/a\u003e\n    * \u003ca href=\"./examples/basic\"\u003eBasic example\u003c/a\u003e \u003ca href=\"https://cloud.ibm.com/schematics/workspaces/create?workspace_name=db2-cloud-basic-example\u0026repository=https://github.com/terraform-ibm-modules/terraform-ibm-db2-cloud/tree/main/examples/basic\"\u003e\u003cimg src=\"https://img.shields.io/badge/Deploy%20with IBM%20Cloud%20Schematics-0f62fe?logo=ibm\u0026logoColor=white\u0026labelColor=0f62fe\" alt=\"Deploy with IBM Cloud Schematics\" style=\"height: 16px; vertical-align: text-bottom; margin-left: 5px;\"\u003e\u003c/a\u003e\n* [Deployable Architectures](./solutions)\n    * \u003ca href=\"./solutions/fully-configurable\"\u003eCloud automation for DB2 on Cloud (Fully configurable)\u003c/a\u003e\n* [Contributing](#contributing)\n\u003c!-- END OVERVIEW HOOK --\u003e\n\n\n\u003c!--\nIf this repo contains any reference architectures, uncomment the heading below and link to them.\n(Usually in the `/reference-architectures` directory.)\nSee \"Reference architecture\" in the public documentation at\nhttps://terraform-ibm-modules.github.io/documentation/#/implementation-guidelines?id=reference-architecture\n--\u003e\n## Reference architectures\n![db2-cloud](https://raw.githubusercontent.com/terraform-ibm-modules/terraform-ibm-db2-cloud/000066a70c717a4e443d8508ca723b73c0c5361f/reference-architectures/deployable-architecture-db2cloud.svg)\n\n\u003c!-- Replace this heading with the name of the root level module (the repo name) --\u003e\n## terraform-ibm-db2-cloud\n\n### Usage\n\n\u003c!--\nAdd an example of the use of the module in the following code block.\n\nUse real values instead of \"var.\u003cvar_name\u003e\" or other placeholder values\nunless real values don't help users know what to change.\n--\u003e\n\n```hcl\nmodule \"db2\" {\n  source                      = \"terraform-ibm-modules/db2-cloud/ibm\"\n  version                     = \"X.Y.Z\" # Replace \"X.Y.Z\" with a release version to lock into a specific release\n  db2_instance_name           = \"my-db2-instance\"\n  resource_group_id           = \"asdf1234\"\n  service_endpoints           = \"public-and-private\"\n  enable_high_availability    = true\n  enable_oracle_compatibility = false\n  node_type                   = \"bx2.4x16\"\n  tags                        = [\"tag1\", \"tag2\"]\n}\n```\n\n### Required access policies\n\n\u003c!-- PERMISSIONS REQUIRED TO RUN MODULE\nIf this module requires permissions, uncomment the following block and update\nthe sample permissions, following the format.\nReplace the 'Sample IBM Cloud' service and roles with applicable values.\nThe required information can usually be found in the services official\nIBM Cloud documentation.\nTo view all available service permissions, you can go in the\nconsole at Manage \u003e Access (IAM) \u003e Access groups and click into an existing group\n(or create a new one) and in the 'Access' tab click 'Assign access'.\n--\u003e\n\nYou need the following permissions to run this module:\n\n- Service\n    - **dashdb-for-transactions** service\n        - `Editor` platform access\n        - `Manager` service access\n\n\u003c!-- The following content is automatically populated by the pre-commit hook --\u003e\n\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n### Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.9.0 |\n| \u003ca name=\"requirement_ibm\"\u003e\u003c/a\u003e [ibm](#requirement\\_ibm) | \u003e= 1.79.0, \u003c 2.0.0 |\n\n### Modules\n\nNo modules.\n\n### Resources\n\n| Name | Type |\n|------|------|\n| [ibm_db2.db2](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/db2) | resource |\n\n### Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_db2_instance_name\"\u003e\u003c/a\u003e [db2\\_instance\\_name](#input\\_db2\\_instance\\_name) | The name of the Db2 instance to create. | `string` | n/a | yes |\n| \u003ca name=\"input_enable_high_availability\"\u003e\u003c/a\u003e [enable\\_high\\_availability](#input\\_enable\\_high\\_availability) | Whether to enable high availability for the Db2 instance. | `bool` | `false` | no |\n| \u003ca name=\"input_enable_oracle_compatibility\"\u003e\u003c/a\u003e [enable\\_oracle\\_compatibility](#input\\_enable\\_oracle\\_compatibility) | Whether to enable compatibility with Oracle for the Db2 instance. | `bool` | `false` | no |\n| \u003ca name=\"input_node_type\"\u003e\u003c/a\u003e [node\\_type](#input\\_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 |\n| \u003ca name=\"input_region\"\u003e\u003c/a\u003e [region](#input\\_region) | The region where the Db2 instance is created. | `string` | `\"us-south\"` | no |\n| \u003ca name=\"input_resource_group_id\"\u003e\u003c/a\u003e [resource\\_group\\_id](#input\\_resource\\_group\\_id) | The ID of the resource group that contains the Db2 instance. | `string` | n/a | yes |\n| \u003ca name=\"input_service_endpoints\"\u003e\u003c/a\u003e [service\\_endpoints](#input\\_service\\_endpoints) | Service endpoints for the Db2 instance. Possible values are `public`, `private`, or `public-and-private`. | `string` | `\"public\"` | no |\n| \u003ca name=\"input_subscription_id\"\u003e\u003c/a\u003e [subscription\\_id](#input\\_subscription\\_id) | Value of the subscription ID to use with the subscription plan for Db2. | `string` | `null` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | The list of resource tags to associate with your Db2 instance. | `list(string)` | `[]` | no |\n\n### Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_crn\"\u003e\u003c/a\u003e [crn](#output\\_crn) | CRN of the Db2 instance. |\n| \u003ca name=\"output_dashboard_url\"\u003e\u003c/a\u003e [dashboard\\_url](#output\\_dashboard\\_url) | Dashboard URL of the Db2 instance. |\n| \u003ca name=\"output_name\"\u003e\u003c/a\u003e [name](#output\\_name) | Name of the Db2 instance. |\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n\n\u003c!-- Leave this section as is so that your module has a link to local development environment set-up steps for contributors to follow --\u003e\n## Contributing\n\nYou can report issues and request features for this module in GitHub issues in the module repo. See [Report an issue or request a feature](https://github.com/terraform-ibm-modules/.github/blob/main/.github/SUPPORT.md).\n\nTo set up your local development environment, see [Local development setup](https://terraform-ibm-modules.github.io/documentation/#/local-dev-setup) in the project documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterraform-ibm-modules%2Fterraform-ibm-db2-cloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterraform-ibm-modules%2Fterraform-ibm-db2-cloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterraform-ibm-modules%2Fterraform-ibm-db2-cloud/lists"}