Skip to content

terraform-ibm-modules/terraform-ibm-watsonx-discovery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IBM Watson Discovery module

Stable (With quality checks) latest release pre-commit Renovate enabled semantic-release

The IBM Watson Discovery terraform module is designed to automate the deployment and configuration of IBM Watson Discovery,which is an intelligent document processing engine that helps to gain insights from complex business documents.

For further information on IBM Watson Discovery, including supported features, plans, and regions, please refer the official Watson Discovery documentation

Overview

terraform-ibm-watsonx-discovery

This module supports provisioning the watson Discovery instance with a selectable service plan.

Usage

module "watson_discovery" {
  source                = "terraform-ibm-modules/watsonx-discovery/ibm"
  watson_discovery_name = "watson-discovery"
  resource_group_id     = module.resource_group.resource_group_id
}

Required access policies

You need the following permissions to run this module:

  • Account Management
    • Resource Group - Viewer role
  • IAM Services
    • Watson Discovery service - Editor platform access

To attach access management tags to resources in this module, you need the following permissions.

  • IAM Services
    • Tagging service
      • Administrator platform access

Requirements

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

Modules

Name Source Version
crn_parser terraform-ibm-modules/common-utilities/ibm//modules/crn-parser 1.1.0

Resources

Name Type
ibm_resource_instance.watson_discovery_instance resource
ibm_resource_tag.watson_discovery_tag resource
ibm_resource_instance.existing_watson_discovery_instance data source

Inputs

Name Description Type Default Required
access_tags A list of access tags to apply to the watson Discovery instance. For more information, see https://cloud.ibm.com/docs/account?topic=account-access-tags-tutorial. list(string) [] no
existing_watson_discovery_instance_crn The CRN of an existing watson Discovery instance. If not provided, a new instance will be provisioned. string null no
plan The plan that is required to provision the watson Discovery instance. Possible values are: plus, enterprise. string "plus" no
region Region where watson Discovery instance will be provisioned. Required if creating a new instance. string "us-south" no
resource_group_id The resource group ID where the watson Discovery instance will be grouped. Required when creating a new instance. string null no
resource_tags Optional list of tags to describe the watson Discovery instance created by the module. list(string) [] no
service_endpoints Types of the service endpoints that can be set to a Watson Discovery instance. Possible values are : 'public', 'private' or 'public-and-private'. string "public-and-private" no
watson_discovery_name The name of the watson Discovery instance. Required if creating a new instance. string null no

Outputs

Name Description
account_id Account ID of the watson Discovery instance.
crn The CRN of the Watson Discovery instance.
dashboard_url The dashboard URL of the Watson Discovery instance.
guid The GUID of the Watson Discovery instance.
id ID of the watson Discovery instance.
name The name of the Watson Discovery instance.
plan_id The plan ID of the Watson Discovery 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.