Sazabi
Terraform provider

sazabi_sandbox_cli

Terraform resource for a sandbox CLI connection.

Manages a sandbox CLI connection for a project. The environment variables are the full credential set: an update replaces all previously stored values. Values are encrypted and never returned, so Terraform keeps them in sensitive state to detect changes. Destroying the resource removes only the Terraform-managed fallback.

Example

resource "sazabi_sandbox_cli" "aws" {
  type = "aws"
  environment_variables = {
    AWS_ACCESS_KEY_ID     = var.aws_access_key_id
    AWS_SECRET_ACCESS_KEY = var.aws_secret_access_key
  }
}

Arguments

AttributeTypeBehaviorDescription
typestringRequiredCLI type (for example aws, github, kubectl, vercel). Immutable.
environment_variablesmap(string)Required, SensitiveFull credential set. Updates replace all values.
project_idstringOptional, ComputedOwning project. Defaults to the secret key's project scope. Immutable.
credential_sourcestringComputedgithub_app, bitbucket_integration, personal_access_token, or stored_credentials.
is_system_managedboolComputedWhether an integration currently provides credentials.
fallback_configuredboolComputedWhether fallback credentials exist.
env_var_keysset(string)ComputedEnvironment variable names after normalization; values omitted.
idstringComputedComposite ID, <project_id>/<type>.

Import

terraform import sazabi_sandbox_cli.aws "<project_id>/<type>"