Skip to content

Latest commit

 

History

History

mq-instance

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

MQ on Cloud service instance

MQ on Cloud requires two service instances.

  • reserved-capacity: A single tenant service instance that provides MQ on Cloud capacity. Incubating versions of this module require the capacity instance to be manually created and the GUID passed into the module.
  • reserved-deployment: A service instance to create a location in which to create queue managers.

Note: The MQ on Cloud Terraform provider access is restricted to users of the reserved deployment plan.

Usage

module "mqcloud_instance" {
  source                   = "terraform-ibm-modules/mq-cloud/ibm//modules/mq-instance"
  version                  = "X.X.X"  # Replace "X.X.X" with a release version to lock into a specific release
  name                     = "deployment-instance"
  region                   = "us-east"
  resource_group_id        = var.resource_group_id
  existing_mq_capacity_crn = "crn:<...>" # MQ on Cloud capacity instance crn
  tags                     = [ "tag-1", "tag-2" ]
}

Requirements

Name Version
terraform >= 1.3.0
ibm >= 1.67.0, <2.0.0

Modules

No modules.

Resources

Name Type
ibm_resource_instance.mqcloud_capacity resource
ibm_resource_instance.mqcloud_deployment resource
ibm_mqcloud_queue_manager_options.options data source

Inputs

Name Description Type Default Required
existing_mq_capacity_crn The CRN of an existing capacity service instance, if not specifed, a new capacity plan will be created. string null no
name The name to give the MQ on Cloud instance. string n/a yes
region The region to provision the MQ on Cloud instance to. string n/a yes
resource_group_id The ID of the resource group to provision the MQ on Cloud instance to. string n/a yes
subscription_id The MQ on Cloud subscription id. Required if existing_mq_capacity_crn is not specified. string null no
tags The list of resource tags that you want to associate with your MQ on Cloud instance. list(string) [] no

Outputs

Name Description
capacity_crn The CRN of the MQ on Cloud capacity instance.
capacity_guid The QUID of the created MQ on Cloud capacity instance.
deployment_crn The CRN of the created MQ on Cloud deployment instance.
deployment_guid The QUID of the created MQ on Cloud deployment instance.
queue_manager_options The deployment service instance queue manager options.