pyvider 2024-11-20
Initial Terraform provider development workspace with multiple experimental approaches
197 files · 25,197+ · 33,700-

Prompt-driven tfppf provider framework scaffold

7 files changed
  • handshake.py Terraform provider handshake protocol implementation for plugin framework
  • plugin.py Plugin lifecycle management for the Terraform provider
  • tfplugin6.proto Terraform plugin protocol v6 protobuf definitions
  • tfplugin6_pb2.py Generated protobuf Python bindings for tfplugin6
  • tfplugin6_pb2_grpc.py Generated gRPC service stubs for tfplugin6
  • pyproject.toml Package metadata for the tfppf provider framework
  • Makefile Build targets for protobuf generation and testing
  • Created initial tfppf package structure with core handshake, plugin, and proto modules for Terraform plugin protocol v6 instantiate architectural
    2 files
    • handshake.py
    • plugin.py
  • Included tfplugin6.proto and generated Python bindings for gRPC communication instantiate architectural
    1 file
    • tfplugin6.proto

Python-terraform-provider experimental implementation

4 files changed
  • provider.py Main provider implementation with resource and data source registration
  • grpc_helpers.py gRPC utility functions for dynamic value encoding/decoding
  • grpc_service.py gRPC service implementation for provider operations
  • protocol.py Protocol handling utilities for Terraform plugin communication
  • Built separate terraform_provider package with gRPC service, protocol handling, and resource management instantiate architectural
    2 files
    • provider.py
    • grpc_service.py

Hello world and protobuf experiments

4 files changed
  • main.py CDKTF hello-world provider example
  • cdktf.json CDKTF configuration
  • main.py LLM-assisted protobuf provider experiment
  • tfplugin6.proto Local copy of tfplugin6 proto for lechat experiment
  • Included CDKTF hello-world and lechat-test as exploratory provider implementation approaches instantiate internal
    2 files
    • main.py
    • main.py

Project notes and setup

3 files changed
  • .gitignore Git ignore rules for the development workspace
  • notes.txt Development notes and observations
  • setup_project.py Project setup script
  • Added development notes and project setup utilities instantiate internal
    2 files
    • notes.txt
    • setup_project.py