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

plantimestamp can be unknown during validation #35902

Merged
merged 1 commit into from
Oct 25, 2024

Commits on Oct 25, 2024

  1. plantimestamp can be unknown during validation

    Before a timestamp is assigned during plan, the `time.Time` value will
    be the zero value for that type. This represents a case where the
    timestamp is not yet known, but the handling of that timestamp isn't
    using our usual cty value system for representing unknowns. Rather than
    refactor the use of the timestamp itself throughout the code, we can
    simply have the function return an unknown if it encounters a zero
    value.
    jbardin committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    ca7b3c0 View commit details
    Browse the repository at this point in the history