Variable Sets are blueprint nodes which contain a list of variables and a set of their possible values, with rules which resolve the values to use depending on a deployment's selected environment, service provider account, or network.
Using Variable Sets, a solution architect can use the same blueprint across multiple environments as specific values aren't required to be hard-coded into the blueprint. eg. A blueprint can use a Variable Set to determine the database connection parameters between a test database instance and a production database instance.
This article describes the steps required to manage Variable Sets. Refer to the article Configuring Variable Sets for detailed steps in configuring existing Variable Sets.
Prerequisites
- Administrative access to the Broker UI
Built-In Variable Sets
The following table lists built-in Variable Sets, which are created by default and cannot removed. Variables configured for built-in Variable Sets are configured within their own context.
Variable Set Name | Description |
ENVIRONMENT |
Variables assigned to each Environment. Variables are still created within this Variable Set, however values for the variables are assigned within the Environment configuration. |
Creating a Variable Set
This section describes the steps required to create a new Variable Set.
- Log into the Broker UI as an administrative user
- Navigate to Admin > Control Panel
- Select the Variable Sets tile
- A list of existing Variable Sets is displayed
- Click Add
- In the Add Variable Set screen, enter the following information:
- Name: A name for this Variable Set
- Description: A description for this Variable Set
- Click Add
- The Variable Set has been added
- Variables and Value Sets can now be added to the Variable Set
Removing a Variable Set
This section describes the steps required to remove a Variable Set.
- Log into the Broker UI as an administrative user
- Navigate to Admin > Control Panel
- Select the Variable Sets tile
- On the Variable Set to be removed, select the View drop down list
Click Remove - Click Remove
- The Variable Set has been removed