opentofu/builtin
Paddy 8ba6ed708a provider/google: throw an error for invalid disks
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.
2016-11-07 16:11:00 -08:00
..
bins Add PagerDuty provider 2016-10-24 14:19:55 +02:00
providers provider/google: throw an error for invalid disks 2016-11-07 16:11:00 -08:00
provisioners Add ability to skip chef registration 2016-10-01 00:49:39 +02:00