When setting (default-)values for parameters, you sometimes want to use a value that is only known when the workspace is actually instantiated.

We have installed placeholders for a couple of useful values.

You can reference to such a value by putting a particular code in the place of the desired value.

This is an overview of these placeholders.

==IP==

The code "==IP==" in a parameter value will be replaced with the public IP-address of the created workspace.

This is also the IP-address that is used to login to the workspace via ssh.

==USERNAME==

Wherever the code "==USERNAME==" is put it will be replaced with the name of the user who is currently logged in to the portal.

==OWNER_USER_ID==

The unique identifier of the owner of the current workspace.

The owner is the user who created the workspace.

The "user", however can be any user who logs in to the workspace.

Any member of the CO, thus.

==CO_ID==

The unique identifier of the CO for which the current workspace is created.

==RESOURCE_ID==

The id that uniquely identifies the current resource inside SURF Research Cloud.

A resource might be e.g. a virtual machine or a storage volume.

==REVERSE_PROXY==

Applicable for workspaces that are accessible through TOTP.

"==REVERSE_PROXY==" will be replaced by a valid url for the workspace.

  • No labels