name: local/terraform-state
description: "Terraform state file resource type"
resource_kind: physical
sandbox_strategy: copy_on_write
user_addable: true
handler: local/terraform-state-handler
capabilities:
  read: true
  write: true
  sandbox: true
  checkpoint: true
cli_args:
  - name: state-path
    type: string
    required: true
    description: "Path to terraform.tfstate or remote state configuration"
  - name: workspace
    type: string
    required: false
    default: "default"
    description: "Terraform workspace name"
child_types:
  - fs-file
