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

NestingSingle blocks can be null #32463

Merged
merged 1 commit into from Jan 11, 2023
Merged

NestingSingle blocks can be null #32463

merged 1 commit into from Jan 11, 2023

Commits on Jan 5, 2023

  1. NestingSingle blocks can be null

    NestingSingle blocks removed from from the config were causing a plan to
    error out with "... planned for existence but config wants absence".
    Terraform core was proposing an incorrect value in this case, taking the
    prior instead as a fallback because a null value was not expected.
    
    Unlike other collection nesting modes, a NestingSingle block not present
    in the configuration is a null value, and should be allowed when
    planning a new value rather than building an empty object or falling
    back to the prior value.
    jbardin committed Jan 5, 2023
    Copy the full SHA
    d5d6d61 View commit details
    Browse the repository at this point in the history