Update a variable set variable

Updates attributes of an existing variable set variable.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The ID of the variable.

Query Params
include
array of strings

The comma-separated list of relationship paths.

include
Body Params
data
object

A Variable describes the configuration and value of a variable in a variable set. There are "terraform" and "shell" variables.

  • Terraform variables define values to be passed into the corresponding Terraform input variable that is defined in the Configuration Version to be used in a run. Scalr Terraform variables are added to the terraform.tfvars.json file in the working directory of the workspace prior to any run. The values passed in can be HCL structures if the hcl attribute is true.
  • Shell variables define environment variables that are added to the runtime environment of a workspace using export VAR=value. These variables can pass authentication parameters to providers or any data required for local processing, such as via local-exec provisioners.
Responses
200

Success.

403

User unauthorized to perform this action.

404

Variable not found or user unauthorized to perform action.

422

Malformed request body or validation error.

4XX

Client error.

5XX

Server error.

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/vnd.api+json