pyvider 2025-04-15
Reworked the dynamic_config resource component with a substantial rewrite to improve data...
9 files · 1,034+ · 476-

Dynamic Config Resource Rewrite

2 files changed
  • dynamic_config.py Massively expanded `components/resources/dynamic_config.py` (1488 lines total, ~1034 insertions) ...
  • dynamic_config_test.tf Updated `dynamic_config_test.tf` with revised test configurations
  • Massively expanded components/resources/dynamic_config.py (1488 lines total, ~1034 insertions) with improved data type handling, better validation logic, and more robust CRUD operations decouple internal
    1 file
    • dynamic_config.py
  • Changed the data field type from Any to dict[str, Any] for stricter typing specify internal
    3 files
    • dynamic_config_test.tf
    • dynamic_config.py
    • dynamic_config.py
  • Added proper error messages referencing config_dict instead of generic data instantiate internal
    3 files
    • dynamic_config_test.tf
    • dynamic_config.py
    • dynamic_config.py
  • Updated dynamic_config_test.tf with revised test configurations qualify internal
    1 file
    • dynamic_config_test.tf

Component Reorganization

10 files changed
  • fake_cloud.py Moved capabilities (`fake_cloud.py`, `fake_cloud_auth.py`) from `components/` to `components/disa...
  • fake_cloud_auth.py Moved capabilities (`fake_cloud.py`, `fake_cloud_auth.py`) from `components/` to `components/disa...
  • components Moved capabilities (`fake_cloud.py`, `fake_cloud_auth.py`) from `components/` to `components/disa...
  • disabled Moved capabilities (`fake_cloud.py`, `fake_cloud_auth.py`) from `components/` to `components/disa...
  • env_variables.py Moved data resources (`env_variables.py`, `file_info.py`, `http_api.py`) to `components/disabled/...
  • file_info.py Moved data resources (`env_variables.py`, `file_info.py`, `http_api.py`) to `components/disabled/...
  • http_api.py Moved data resources (`env_variables.py`, `file_info.py`, `http_api.py`) to `components/disabled/...
  • data_resources Moved data resources (`env_variables.py`, `file_info.py`, `http_api.py`) to `components/disabled/...
  • file_content.py Moved `file_content.py` resource to `components/disabled/resources/`
  • resources Moved `file_content.py` resource to `components/disabled/resources/`
  • Moved capabilities (fake_cloud.py, fake_cloud_auth.py) from components/ to components/disabled/ decouple internal
    4 files
    • fake_cloud.py
    • fake_cloud_auth.py
    • components
    • disabled
  • Moved data resources (env_variables.py, file_info.py, http_api.py) to components/disabled/data_resources/ decouple internal
    4 files
    • env_variables.py
    • file_info.py
    • http_api.py
    • data_resources
  • Moved file_content.py resource to components/disabled/resources/ decouple internal
    2 files
    • file_content.py
    • resources