-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It should eventually be possible to have optional resource parameters, but there's still some work that needs to be done to design the user experience. Unlike in-template resources or scalar parameters, I think optional resource parameters have to account for three different states:
We've put effort over the past year or so into the developer experience to make working with optional scalar parameters a more seamless experience, and there's been some discussion recently about how we can improve the experience in dealing with resources that may be skipped in a given deployment. I'm not sure anyone has yet looked into how those experiences will overlap. |
Beta Was this translation helpful? Give feedback.
It should eventually be possible to have optional resource parameters, but there's still some work that needs to be done to design the user experience. Unlike in-template resources or scalar parameters, I think optional resource parameters have to account for three different states:
null
value (e.g., an omitted value),false
condition), orfalse
condition).We've put effort over the past year or so into the developer experience to make working with optional scalar parameters a more seamless experience, and there's been some discussion …