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

tftypes: Allow DynamicPseudoType with known values #136

Merged
merged 3 commits into from
Jan 13, 2022

Commits on Jan 7, 2022

  1. tftypes: Allow DynamicPseudoType with known values

    Reference: #94
    Reference: #99
    Reference: #100
    Reference: #128
    Reference: #133
    
    Reverts incorrect logic for handling DynamicPseudoType values in `tftypes`. This type information must be preserved when traversing the protocol, as Terraform CLI decodes values based on the schema information. If a concrete value type is used where DynamicPseudoType is expected, Terraform CLI will return errors such as (given an object of 4 attributes, when DynamicPseudoType is expected):
    
    ```
    │ Error: ["manifest"]: msgpack: invalid code=84 decoding array length
    ```
    bflad committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    3ebf793 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG for #136

    bflad committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    915b1ba View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2022

  1. Configuration menu
    Copy the full SHA
    c7dfd09 View commit details
    Browse the repository at this point in the history