pyvider 2024-12-05
Began experimental simplified provider architecture in exp2 package
24 files · 3,347+ · 7-

Created experimental simplified provider in exp2/ package

16 files changed
  • __init__.py Experimental package initialization
  • __main__.py Simplified entry point
  • base.py New base provider class design (79+ lines)
  • handler.py Simplified request handler (103+ lines)
  • provider.py Provider implementation
  • schema.py Schema definitions
  • server.py Server implementation
  • constants.py Provider constants
  • exceptions.py Exception definitions
  • terraform_handshake.py Handshake protocol (87 lines)
  • setup.py Setup configuration
  • utils.py Utility functions
  • file_content.py File content resource implementation (182 lines)
  • __init__.py Proto v6 package
  • tfplugin6_pb2.py Generated protobuf code
  • tfplugin6_pb2_grpc.py Generated gRPC stubs
  • Created exp2/ package as a simplified provider architecture with base class, handler, schema, and server instantiate behavioral
    5 files
    • base.py
    • handler.py
    • provider.py
    • schema.py
    • server.py
  • Added file content resource as a reference implementation in the experimental package instantiate internal
    1 file
    • file_content.py
  • Included protobuf definitions, constants, exceptions, and handshake protocol instantiate internal
    5 files
    • tfplugin6_pb2.py
    • tfplugin6_pb2_grpc.py
    • constants.py
    • exceptions.py
    • terraform_handshake.py

Added standalone provider test script

1 file changed
  • s2.py Standalone provider test script (106 lines)
  • Added s2.py as a standalone provider test script for experimenting with configurations qualify internal
    1 file
    • s2.py

Updated provider Terraform configuration

1 file changed
  • provider.tf Adjusted configuration parameters
  • Updated example provider.tf with adjusted resource configuration parameters baseline internal
    1 file
    • provider.tf