Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mux terraform-provider-sdk and terraform-plugin-framework #2170

Merged
merged 18 commits into from
Jan 20, 2023

Commits on Jan 16, 2023

  1. provider: mux sdkv2 and framework

    To allow us to migrate incrementally to terraform-plugin-framework, we need to:
    
    - Run a protocol v5 => v6 translator; and
    - Mux SDKv2 and framework servers to serve a unified provider
    
    This gets us moving down that path in to run them in a compatible fashion.
    jacobbednarz committed Jan 16, 2023
    Configuration menu
    Copy the full SHA
    3a29e1c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e6b224 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c15d540 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. provider: introduce consts to prevent typos and duplication

    Creates a `consts` package to hold the provider schema that will be shared
    between SDKv2 and the plugin framework to prevent typos and duplication.
    jacobbednarz committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    8ebcddf View commit details
    Browse the repository at this point in the history
  2. provider: make framework usable

    Copies over the sdkv2 client configuration to make the provider operate 1:1
    regardless of the mechanism used.
    jacobbednarz committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    a094993 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0d7e444 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

  1. provider: skip decorating provider descriptions

    Right now, there isn't a way to do automatic description decoration based on the
    schema attributes[1]. This is a problem because to mux two provider types they
    must return identical schemas.
    
    To work around this, I've added conditionals to the generator to ignore the
    schema fields in the providers where we may experience differences between the
    providers but it remains for all resources and data sources. For now, this
    strikes the balance of unblocking us and keeping the documentation nicely
    decorated.
    
    [1]: hashicorp/terraform-plugin-framework#625
    jacobbednarz committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    074e217 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc6c72d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0475f09 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    84d7e30 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d85dc35 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7e1372a View commit details
    Browse the repository at this point in the history
  7. lint: address godot

    jacobbednarz committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    7de3823 View commit details
    Browse the repository at this point in the history
  8. lint: address godot

    jacobbednarz committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    adba38e View commit details
    Browse the repository at this point in the history
  9. add CHANGELOG entry

    jacobbednarz committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    eea007c View commit details
    Browse the repository at this point in the history
  10. lint: fix sweeper path

    jacobbednarz committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    8d8cd1e View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2023

  1. Configuration menu
    Copy the full SHA
    66f4394 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    57c6e27 View commit details
    Browse the repository at this point in the history