From 657bad0155e0bf33733e14b6ffd7af26d7c5e1ad Mon Sep 17 00:00:00 2001 From: Shuaib Bapputty Date: Fri, 5 Jan 2024 16:36:40 +0530 Subject: [PATCH] add resource instance sample config code part in the website doc --- website/docs/r/mqcloud_queue_manager.html.markdown | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/website/docs/r/mqcloud_queue_manager.html.markdown b/website/docs/r/mqcloud_queue_manager.html.markdown index abb8eec5f6..0994cfb932 100644 --- a/website/docs/r/mqcloud_queue_manager.html.markdown +++ b/website/docs/r/mqcloud_queue_manager.html.markdown @@ -13,11 +13,18 @@ Create, update, and delete mqcloud_queue_managers with this resource. ## Example Usage ```hcl +resource "ibm_resource_instance" "mqcloud_instance" { + name = "mqcloud-service-name" + service = "mqcloud" + plan = "default" + location = "eu-de" +} + resource "ibm_mqcloud_queue_manager" "mqcloud_queue_manager_instance" { display_name = "A test queue manager" location = "reserved-eu-de-cluster-f884" name = "testqm" - service_instance_guid = var.service_instance_guid + service_instance_guid = ibm_resource_instance.mqcloud_instance.guid size = "lite" version = "9.3.2_2" }