# ComputeScriptVariable

> Resource ComputeScriptVariable in pulumi-bunnynet.

<!-- Generated from the pulumi-bunnynet SDK. -->

Resource ComputeScriptVariable in pulumi-bunnynet.

Pulumi type: `bunnynet:index/computeScriptVariable:ComputeScriptVariable`.

`name` is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as bunnynet from "pulumi-bunnynet"

const resource = new bunnynet.ComputeScriptVariable("computeScriptVariable", {
  defaultValue: "<defaultValue>",
  required: true,
  script: 0,
})
```

## Arguments

| Property       | Type      | Required | Description                                             |
| -------------- | --------- | -------- | ------------------------------------------------------- |
| `defaultValue` | `string`  | yes      | The default value of the environment variable.          |
| `name`         | `string`  | no       | The name of the environment variable.                   |
| `required`     | `boolean` | yes      | Indicates whether the environment variable is required. |
| `script`       | `number`  | yes      | The ID of the associated compute script.                |

## Outputs

Computed outputs are produced by the provider. They are not constructor arguments.

| Property                  | Type      | Computed | Description                                             |
| ------------------------- | --------- | -------- | ------------------------------------------------------- |
| `computeScriptVariableId` | `number`  | yes      | The ID of the environment variable.                     |
| `defaultValue`            | `string`  | no       | The default value of the environment variable.          |
| `name`                    | `string`  | no       | The name of the environment variable.                   |
| `required`                | `boolean` | no       | Indicates whether the environment variable is required. |
| `script`                  | `number`  | no       | The ID of the associated compute script.                |
