mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-20 11:48:24 -06:00
When configuring an instance's attached disk, if the attached disk has both the disk and type attributes set, it would previously cause terraform to crash with a nil pointer exception. The root cause was that we only instantiate the InitializeParams property of the disk if its disk attribute isn't set, and we try to write to the InitializeParams property when the type attribute is set. So setting both caused the InitializeParams property to not be initialized, then written to. Now we throw an error explaining that the configuration can't have both the disk and the type set. Fixes #6495. |
||
---|---|---|
.. | ||
bins | ||
providers | ||
provisioners |