From 3b00f79761b9284e0c74e47823d5055da3e76e84 Mon Sep 17 00:00:00 2001 From: alvarocarvajald Date: Wed, 30 Oct 2024 17:53:22 +0000 Subject: [PATCH] deploy: 36a52b9c1717d327fc6240e6286ac119d7c39ad4 --- .../configure_tfvars.html | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/sles4sap/sap_deployment_automation_framework/configure_tfvars.html b/sles4sap/sap_deployment_automation_framework/configure_tfvars.html index 1624a64acc72..b1db69b026a2 100644 --- a/sles4sap/sap_deployment_automation_framework/configure_tfvars.html +++ b/sles4sap/sap_deployment_automation_framework/configure_tfvars.html @@ -17,6 +17,7 @@
  • prepare_tfvars_file
  • replace_tfvars_variables
  • set_workload_vnet_name
  • +
  • set_vm_image_parameters
  • lib/sles4sap/sap_deployment_automation_framework/configure_tfvars.pm

    @@ -40,20 +41,20 @@

    prepare_tfvars_file

    replace_tfvars_variables

    -
    replace_tfvars_variables();
    +
    replace_tfvars_variables('/path/to/file.tfvars');

    Replaces placeholder pattern %OPENQA_VARIABLE% with corresponding OpenQA variable value. If OpenQA variable is not set, placeholder is replaced with empty value.

    set_workload_vnet_name

    -
    set_workload_vnet_name([job_id=>$job_id]);
    +
    set_workload_vnet_name([job_id=>'123456']);

    Returns VNET name used for workload zone and sap systems resources. VNET name must be unique for each landscape, therefore it contains test ID as an identifier.

    @@ -64,6 +65,19 @@

    set_workload_vnet_name

    +

    set_vm_image_parameters

    + +
    set_vm_db_image_parameters([job_id=>'123456']);
    + + + +

    Sets OpenQA parameters required for replacing tfvars template variables for database VM image.

    +