Template variables modification
Managed services Variables update guidance.
Managed services Variables provide the opportunity for an administrator to hardcode certain values for a parameter and make them relevant for a specific organization. Additionally, the deployment properties of variables may be modified to make suitable for a specific situation.
Managed services Variables may be accessed and edited from the Templates tab in the Template Editor.
When to customize
Managed services templates are designed to multi-cloud and multi-purpose environments. The correct way to use CAM Variables is to customize a template for a specific use case, for example:
- Specific cloud endpoint
- Specific Middleware configuration (Development/Test/Production)
A systems administrator can set in advance and hide deployment details from the deployer to achieve a specific effect during the deployment.
Hiding a Managed services Variable from the deployer
To hide a Managed services Variable from the deployer and therefore set the variable for a specific template, you must modify the following fields in CAM Variables. The default value is injected in the Terraform template at deploy
time.
hidden: Set this field totrue.default: Set this value to be the default value.
Setting default value
Default values for Managed services Variables are a common use case and provide meaningful advice to the deployer on the correct value.
default: Set this value to be the default value.
Field validation
Field validation occurs through a Regular Expression described in the validation parameter.
validation: Set to the relevant Regular Expression.