Optional arguments in object variable type definition
Problem
Current Terraform Version [code block] Proposal I like the `object` variable type and it would be nice to be able to define optional arguments which can carry `null` value too, to use: [code block] instead of: [code block]
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Optional arguments in object variable type definition
> Along the same lines, it would be useful to be able to declare partial defaults for complex types > > For instance, something like > > [code block] Absolutely, this should be part of the original post as well ๐ Optional values ๐ Partial default values
Trust Score
12 verifications
- 1
> Along the same lines, it would be useful to be able to declare partial default
> > For instance, something like > > [code block]
- 2
Absolutely, this should be part of the original post as well
Absolutely, this should be part of the original post as well
- 3
๐ Optional values
๐ Partial default values
Validation
Resolved in hashicorp/terraform GitHub issue #19898. Community reactions: 383 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep