Releases: hashicorp/python-tfe
v0.1.2
Features
Registry Management
- Added registry provider version resource with full CRUD operations by @isivaselvan #66
- Added create method for registry provider versions by @isivaselvan #66
- Added list method with pagination support for registry provider versions by @isivaselvan #66
- Added read method for fetching specific registry provider version details by @isivaselvan #66
- Added delete method for removing registry provider versions by @isivaselvan #66
- Added comprehensive unit tests for registry provider versions by @isivaselvan #66
Breaking Change
Iterator Pattern Migration for List Method
- Migrated Policy Evaluation resource to use iterator pattern for list operations and renamed attribute task_stage to policy_attachable at PolicyEvaluation Model by @isivaselvan #68
- Migrated Policy Set Outcome resource to use iterator pattern for list operations by @isivaselvan #68
- Migrated OAuth Token resource to use iterator pattern and removed deprecated Uid attribute by @isivaselvan #68
- Migrated Reserved Tag Key resource to use iterator pattern, removed read method, and renamed service class by @isivaselvan #68
Deprecations
- Models OAuthTokenList, PolicyEvaluationList, PolicySetOutcomeList, ReservedTagKeyList were removed from models as part of initial Iterator pattern conversion of List Method.
- page_number attribute was removed at Models of OAuthTokenListOptions, PolicyEvaluationListOptions, PolicySetOutcomeListFilter and ReservedTagKeyListOptions.
- Removed deprecated Uid attribute at OauthToken Model.
Enhancements
- Updated query run functions with correct api endpoints, parameters and payload options for improved performance and consistency by @aayushsingh2502 #69
- Removed ListOptions from model and improved Cancel and Force Cancel option handling by @aayushsingh2502 #69
- Updated function naming conventions in example files for better clarity by @aayushsingh2502 #69
Bug Fixes
- Fixed the issue related to the Regex pattern on string id validation for registry resource by @isivaselvan #66
v0.1.1
Features
Organization Management
- Added organization membership list functionality with flexible filtering and pagination by @aayushsingh2502 #54
- Added organization membership read functionality by @aayushsingh2502 #54
- Added organization membership read with relationship includes by @aayushsingh2502 #54
- Added organization membership create functionality to invite users via email with optional team assignments by @aayushsingh2502 #54
- Added organization membership delete functionality by @aayushsingh2502 #54
Workspace Management
- Added workspace resources list functionality with pagination support by @KshitijaChoudhari #58
- Added robust data models with Pydantic validation for workspace resources by @KshitijaChoudhari #58
- Added comprehensive filtering options for workspace resources by @KshitijaChoudhari #58
Policy Management
- Added policy set parameter list functionality by @isivaselvan #53
- Added policy set parameter create functionality by @isivaselvan #53
- Added policy set parameter read functionality by @isivaselvan #53
- Added policy set parameter update functionality by @isivaselvan #53
- Added policy set parameter delete functionality by @isivaselvan #53
Enhancements
- Code cleanup and improvements across example files by @aayushsingh2502 #54
- Typo fix in Readme by @isivaselvan #75
v0.1.0
v0.1.0 - Initial Public Release
Release Date: October 28, 2025
This marks the first public release of python-tfe, the official Python client library for HashiCorp Cloud Platform (HCP) Terraform and Terraform Enterprise.
🎉 Release Highlights
- Python SDK for HCP Terraform and Terraform Enterprise APIs
- Type-safe models with comprehensive validation using Pydantic
- Broad API coverage for core Terraform Cloud operations
- Comprehensive examples and documentation
FEATURES
Core Infrastructure & Foundation
- Initial SDK Core Framework - Complete foundational SDK core framework and structure by @iam404 #9
- Established base client architecture, HTTP transport layer, Pagination and response handling with retries
- Implemented configuration management and authentication patterns
- Added comprehensive error handling and logging infrastructure
Organization Management
- Organization CRUD Operations - Complete organization management functionality by @aayushsingh2502
- Full create, read, update, delete operations for organizations
- Organization membership and user management
- Organization settings and feature toggles
Workspace Management
-
Workspace CRUD Operations - Comprehensive workspace management by @isivaselvan #16
- Complete workspace lifecycle management
- VCS integration support for GitHub, GitLab, Bitbucket, Azure DevOps
- Workspace settings, tags, and remote state consumers
-
Workspace Variables API - Variable management functionality by @aayushsingh2502 #16
- Environment and Terraform variable management
- Variable sets integration
- Sensitive variable handling with encryption
Project Management
- Project CRUD Operations - Complete project management API by @KshitijaChoudhari #23
- Project creation, configuration, and management
- Project tagging and organization by @KshitijaChoudhari #25
- Tag binding functionality for improved project organization
State Management
- State Versions and Output - Complete state management implementation by @iam404 #22
- State version listing, downloading, and rollback capabilities
- State output retrieval and management
- Secure state file operations with locking mechanisms
Variable Sets
- Variable Sets API - Comprehensive variable sets functionality by @KshitijaChoudhari #27
- Variable set creation and management
- Workspace association and inheritance
- Global and workspace-specific variable sets
Registry Management
-
Registry Module Support - Private module registry implementation by @aayushsingh2502 #24
- Module publishing and version management
- VCS integration for automated module updates
- Dependency management and semantic versioning
-
Registry Provider APIs - Provider registry operations by @aayushsingh2502 #28
- Custom and community provider management
- Provider version publishing and distribution
- GPG signature verification support
Run Management
-
Run API Specifications - Complete run lifecycle management by @isivaselvan #30
- Run creation, execution, and monitoring
- Run status tracking with real-time updates
- Run cancellation and force-cancellation capabilities
-
Plan and Apply Operations - Plan and apply workflow implementation by @isivaselvan #33
- Detailed plan analysis and review
- Apply operations with confirmation workflows
- Plan output parsing and visualization
-
Run Tasks and Triggers - Automated run management by @isivaselvan #26
- Run task creation and execution
- Trigger-based automated runs
- Webhook integration for external triggers
-
Run Events API - Run event tracking and monitoring by @isivaselvan #36
- Comprehensive run event logging
- Event filtering and querying capabilities
- Real-time event streaming support
Configuration Management
- Configuration Version Support - Configuration upload and management by @aayushsingh2502 #32
- Configuration version creation and upload
- Tar.gz archive support for configuration bundles
- VCS-triggered configuration updates
Query and Search
- Query Run API - Advanced run querying capabilities by @KshitijaChoudhari #35
- Complex run filtering and search
- Historical run data analysis
- Performance metrics and statistics
Agent Management
- Agents and Agent Pools - Self-hosted agent management by @KshitijaChoudhari #31
- Agent pool creation and configuration
- Agent registration and lifecycle management
- Health monitoring and capacity management
Authentication & Security
-
OAuth Client Management - OAuth integration for VCS providers by @aayushsingh2502 #37
- OAuth client creation and configuration
- VCS provider authentication setup
- Token refresh and management
-
OAuth Token Operations - Token lifecycle management by @aayushsingh2502 #40
- OAuth token creation and renewal
- Secure token storage and retrieval
- Token scope and permission management
-
SSH Key Management - SSH key operations for VCS access by @KshitijaChoudhari #38
- SSH key upload and management
- Key validation and security checks
- Repository access configuration
Tagging & Organization
- Reserved Tag Keys - Tag key management and restrictions by @KshitijaChoudhari #39
- Reserved tag key creation and enforcement
- Tag validation and naming conventions
- Organizational tag policies
Policy Management
-
Policy API Specifications - Sentinel policy management by @isivaselvan #41
- Policy creation and enforcement
- Policy version management
- Policy evaluation and reporting
-
Policy Check API - Policy evaluation framework by @isivaselvan #42
- Policy check execution and results
- Override capabilities for policy failures
- Detailed policy violation reporting
-
Policy Set Management - Policy set operations by @isivaselvan #45
- Policy set creation and configuration
- Workspace and organization policy assignment
- Policy set versioning and rollback
-
Policy Evaluation Framework - Advanced policy evaluation by @isivaselvan #46
- Policy set version management
- Policy set outcome tracking
- Comprehensive evaluation reporting
Notification Management
- Notification Configuration - Notification system implementation by @KshitijaChoudhari #43
- Notification configuration and management
- Multi-channel notification support (Slack, email, webhooks)
- Event-driven notification triggers
- Custom notification templates and formatting
NOTES
Package Information
- Python Version: Requires Python 3.10 or higher
- API Compatibility: Compatible with HCP Terraform and Terraform Enterprise v2 and later