How to work with variables
Set Orchestrator variables on edge services and edge nodes with Azion Console or API v3, and learn which value wins.
During the deployment process on Orchestrator, you can work with variables. A variable can be set on an edge service and an edge node.
You can create edge node and edge services variables using:
Edge Services variables
Console
- Access Azion Console > Edge Services.
- Select the edge service to which you want to add a variable.
- In the Variables section, add the following variable:
- Select Save.
Now, you’ve created a variable related to a specific service. You need to access this variable through a resource.
- Navigate to the Resources tab.
- Click on + Resource or select the resource to which you wish to use the variable.
- Enter the Path of the resource.
- Choose the type Text.
- Add the following content to the content block:
- Click the Save button.
Edge Node variables
Console
- Access Azion Console > Edge Nodes.
- Select the edge node to which you want to add a variable.
- Go to the Services tab.
- Choose the service to which you want to apply the variable.
- Add the following content to the variables block:
- Select Save.
Now, you’ve created a variable related to a specific node. You need to access this variable through a resource.
- Go to Edge Services.
- Select the service related to the resource.
- Click on + Resource or select the resource where you wish to use the variable.
- Enter the Path of the resource.
- Choose the type Text.
- Add the following content to the content block:
- Click the Save button.