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

internal/privatestate: Handle terraform-plugin-sdk private state in NewData #452

Merged
merged 2 commits into from Aug 12, 2022

Commits on Aug 12, 2022

  1. internal/privatestate: Handle terraform-plugin-sdk private state in N…

    …ewData
    
    Previously, errors such as these could be returned:
    
    ```
    Error: Error Decoding Private State
    
              with random_password.min,
              on terraform_plugin_test.tf line 1, in resource "random_password" "min":
               1: resource "random_password" "min" {
    
            An error was encountered when decoding private state: illegal base64 data at
            input byte 0.
    
            This is always a problem with Terraform or terraform-plugin-framework. Please
            report this to the provider developer.
    ```
    
    The new unit test case would fail with the same error prior to this fix.
    bflad committed Aug 12, 2022
    Copy the full SHA
    5859dbf View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG for #452

    bflad committed Aug 12, 2022
    Copy the full SHA
    f0c751e View commit details
    Browse the repository at this point in the history