Skip to content

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

169 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

IBM Watson Discovery module

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

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.79.0, < 2.0.0

Modules

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

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. Learn more. list(string) [] no
existing_watson_discovery_instance_crn The CRN of an existing Watson Discovery instance. If not provided, a new instance is created. string null no
plan The Watson Discovery plan to create an instance of Watson Discovery. Possible values are plus, enterprise or premium. string "plus" no
region The region for the Watson Discovery instance. Required to create an instance of Watson Discovery. string "us-south" no
resource_group_id The resource group ID for the Watson Discovery instance. Required to create an instance of Watson Discovery. string null no
resource_tags Optional list of tags to describe the Watson Discovery instance. 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 to create 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.