tfe_workspace

Nivis Nix constructor for the tfe_workspace resource (provider tfe). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  agent_pool_id ? null,
  allow_destroy_plan ? null,
  assessments_enabled ? null,
  auto_apply ? null,
  auto_apply_run_trigger ? null,
  auto_destroy_activity_duration ? null,
  auto_destroy_at ? null,
  description ? null,
  execution_mode ? null,
  file_triggers_enabled ? null,
  force_delete ? null,
  global_remote_state ? null,
  ignore_additional_tag_names ? null,
  ignore_additional_tags ? null,
  cfg_name ? null,
  operations ? null,
  organization ? null,
  project_id ? null,
  queue_all_runs ? null,
  remote_state_consumer_ids ? null,
  source_name ? null,
  source_url ? null,
  speculative_enabled ? null,
  ssh_key_id ? null,
  structured_run_output_enabled ? null,
  tag_names ? null,
  tags ? null,
  terraform_version ? null,
  trigger_patterns ? null,
  trigger_prefixes ? null,
  working_directory ? null,
  vcs_repo ? null,
  overrides ? {}
}
Required arguments

_None._

Optional arguments
  • agent_pool_id (defaults to null)
  • allow_destroy_plan (defaults to null)
  • assessments_enabled (defaults to null)
  • auto_apply (defaults to null)
  • auto_apply_run_trigger (defaults to null)
  • auto_destroy_activity_duration (defaults to null)
  • auto_destroy_at (defaults to null)
  • description (defaults to null)
  • execution_mode (defaults to null)
  • file_triggers_enabled (defaults to null)
  • force_delete (defaults to null)
  • global_remote_state (defaults to null)
  • ignore_additional_tag_names (defaults to null)
  • ignore_additional_tags (defaults to null)
  • cfg_name (defaults to null)
  • operations (defaults to null)
  • organization (defaults to null)
  • project_id (defaults to null)
  • queue_all_runs (defaults to null)
  • remote_state_consumer_ids (defaults to null)
  • source_name (defaults to null)
  • source_url (defaults to null)
  • speculative_enabled (defaults to null)
  • ssh_key_id (defaults to null)
  • structured_run_output_enabled (defaults to null)
  • tag_names (defaults to null)
  • tags (defaults to null)
  • terraform_version (defaults to null)
  • trigger_patterns (defaults to null)
  • trigger_prefixes (defaults to null)
  • working_directory (defaults to null)
  • vcs_repo (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • effective_tags
  • html_url
  • hyok_enabled
  • id
  • inherits_project_auto_destroy
  • resource_count
Example
tfe_workspace {
  name = "workspace";
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.