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

Simplify how default values are set for complex variables types. #728

Closed

Commits on Jul 10, 2024

  1. Simplify how default values are set for complex variables types.

    As documented in https://developer.hashicorp.com/terraform/language/expressions/type-constraints#optional-object-type-attributes
    
    "Terraform applies the default value you specify in the optional
    modifier first and then later applies any nested default values to that
    attribute"
    
    which means that the values specified in "optional" constraints was
    **always** overridden immediately by the defaults specified below.
    
    This change simplifies how the defaults are set, solely using the
    optional defaults.
    roberthbailey committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    b99b14b View commit details
    Browse the repository at this point in the history