From a0a24100ab1a9f8351e89a1a44d403dba0b5b2f6 Mon Sep 17 00:00:00 2001 From: Prasad Krishnegowda Date: Thu, 23 Apr 2020 12:13:23 +0530 Subject: [PATCH] minor changes --- image.tf | 1 - variables.tf | 8 +++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/image.tf b/image.tf index 133cc15..0cdf544 100644 --- a/image.tf +++ b/image.tf @@ -19,7 +19,6 @@ locals { user_acct_id = "${substr(element(split("a/", data.ibm_is_subnet.f5_subnet1.resource_crn), 1), 0, 32)}" apikey = "${var.ibmcloud_svc_api_key}" instance_id = "${var.vnf_cos_instance_id}" - image_url = "${var.vnf_cos_image_url}" } ############################################################################## diff --git a/variables.tf b/variables.tf index 296ee16..f18c893 100644 --- a/variables.tf +++ b/variables.tf @@ -14,12 +14,14 @@ variable "vnf_cos_instance_id" { } ############################################################################## -# vnf_cos_image_url - Vendor provided F5-BIGIP image COS url. +# vnf_cos_image_url_map - Vendor provided F5-BIGIP image COS url. # The value for this variable is enter at offering # onbaording time.This variable is hidden from the user. +# This value is a map, which contains, image URL for different +# regions ############################################################################## variable "vnf_cos_image_url_map" { - default = "" + default = {} description = "The COS image object SQL URL for F5-BIGIP qcow2 image." } @@ -65,4 +67,4 @@ variable "vnf_profile" { variable "ibmcloud_endpoint" { default = "cloud.ibm.com" description = "The IBM Cloud environmental variable 'cloud.ibm.com' or 'test.cloud.ibm.com'" -} \ No newline at end of file +}