From 082c5cd6938ac99d7ca911db05a302ed5a788ba5 Mon Sep 17 00:00:00 2001 From: michaelkad Date: Tue, 1 Aug 2023 16:56:02 -0500 Subject: [PATCH] Update ibm_pi_instance Doc --- website/docs/r/pi_image.html.markdown | 6 +++--- website/docs/r/pi_instance.html.markdown | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/website/docs/r/pi_image.html.markdown b/website/docs/r/pi_image.html.markdown index f7a0bab0d27..ecdc35a01b0 100644 --- a/website/docs/r/pi_image.html.markdown +++ b/website/docs/r/pi_image.html.markdown @@ -11,8 +11,8 @@ description: |- Create, update, or delete for a Power Systems Virtual Server image. For more information, about IBM power virtual server cloud, see [getting started with IBM Power Systems Virtual Servers](https://cloud.ibm.com/docs/power-iaas?topic=power-iaas-getting-started). ## Example usage -The following example enables you to create a image: - +The following example enables you to create a image in your project: +- stock-images import ```terraform resource "ibm_pi_image" "testacc_image "{ pi_image_name = "7200-03-02" @@ -20,7 +20,7 @@ resource "ibm_pi_image" "testacc_image "{ pi_cloud_instance_id = "" } ``` - +- COS image import ```terraform resource "ibm_pi_image" "testacc_image "{ pi_image_name = "test_image" diff --git a/website/docs/r/pi_instance.html.markdown b/website/docs/r/pi_instance.html.markdown index 8f0053bc2cf..6a5e2234a98 100644 --- a/website/docs/r/pi_instance.html.markdown +++ b/website/docs/r/pi_instance.html.markdown @@ -67,6 +67,7 @@ Review the argument references that you can specify for your resource. - `pi_deployment_type` - (Optional, String) Custom deployment type; Allowable value: `EPIC`. - `pi_health_status` - (Optional, String) Specifies if Terraform should poll for the health status to be `OK` or `WARNING`. The default value is `OK`. - `pi_image_id` - (Required, String) The ID of the image that you want to use for your Power Systems Virtual Server instance. The image determines the operating system that is installed in your instance. To list available images, run the `ibmcloud pi images` command. + - **Note**: only images belonging to your project can be used image for deploying a Power Systems Virtual Server instance. To import an images to your project, see [ibm_pi_image](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/pi_image). - `pi_instance_name` - (Required, String) The name of the Power Systems Virtual Server instance. - `pi_key_pair_name` - (Optional, String) The name of the SSH key that you want to use to access your Power Systems Virtual Server instance. The SSH key must be uploaded to IBM Cloud. - `pi_license_repository_capacity` - (Optional, Integer) The VTL license repository capacity TB value. Only use with VTL instances. `pi_memory >= 16 + (2 * pi_license_repository_capacity)`.