tfe_workspaceNivis 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 tonull)allow_destroy_plan(defaults tonull)assessments_enabled(defaults tonull)auto_apply(defaults tonull)auto_apply_run_trigger(defaults tonull)auto_destroy_activity_duration(defaults tonull)auto_destroy_at(defaults tonull)description(defaults tonull)execution_mode(defaults tonull)file_triggers_enabled(defaults tonull)force_delete(defaults tonull)global_remote_state(defaults tonull)ignore_additional_tag_names(defaults tonull)ignore_additional_tags(defaults tonull)cfg_name(defaults tonull)operations(defaults tonull)organization(defaults tonull)project_id(defaults tonull)queue_all_runs(defaults tonull)remote_state_consumer_ids(defaults tonull)source_name(defaults tonull)source_url(defaults tonull)speculative_enabled(defaults tonull)ssh_key_id(defaults tonull)structured_run_output_enabled(defaults tonull)tag_names(defaults tonull)tags(defaults tonull)terraform_version(defaults tonull)trigger_patterns(defaults tonull)trigger_prefixes(defaults tonull)working_directory(defaults tonull)vcs_repo(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
effective_tagshtml_urlhyok_enabledidinherits_project_auto_destroyresource_count
Example
tfe_workspace {
name = "workspace";
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.