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
..
2015-11-20 11:32:25 -05:00
2016-06-10 11:55:21 +02:00
2015-11-16 15:14:32 -06:00
2016-09-07 13:35:33 -07:00
2016-09-07 13:35:33 -07:00
2015-03-18 17:10:39 +00:00
2016-08-08 12:36:27 +12:00
2016-11-01 21:00:12 +00:00
2016-08-10 16:19:31 -04:00
2016-08-16 17:04:30 -04:00
2016-08-10 16:45:56 -04:00
2016-08-10 16:30:41 -04:00
2016-08-18 15:13:52 -04:00
2016-08-15 10:03:31 -04:00
2016-08-11 10:24:03 -04:00
2016-01-05 11:37:52 -05:00
2016-05-10 10:59:11 -07:00
2016-09-07 13:35:33 -07:00
2016-01-05 16:57:24 -05:00
2016-06-10 11:55:21 +02:00
2016-08-25 14:39:03 +01:00
2016-08-10 16:19:31 -04:00
2016-08-18 19:31:45 -07:00
2016-08-08 12:28:43 +12:00
2016-08-18 19:31:45 -07:00
2016-06-10 11:55:21 +02:00
2016-08-16 17:04:30 -04:00
2016-08-16 17:04:30 -04:00
2016-08-16 17:04:30 -04:00
2016-08-23 10:40:33 +02:00
2016-01-05 12:26:44 -06:00
2016-08-10 16:45:56 -04:00
2016-01-05 16:57:24 -05:00
2016-06-10 11:55:21 +02:00
2016-01-05 19:49:06 -05:00
2016-06-10 11:55:21 +02:00
2016-01-05 16:57:24 -05:00
2016-08-10 16:30:41 -04:00
2016-01-05 16:57:24 -05:00
2016-06-10 11:55:21 +02:00
2016-11-01 10:32:47 +00:00
2016-11-01 10:32:47 +00:00
2016-08-25 14:39:03 +01:00
2016-08-18 15:13:52 -04:00
2016-08-18 19:31:45 -07:00
2016-06-10 11:55:21 +02:00
2015-06-23 22:31:24 -07:00
2015-06-23 22:31:24 -07:00
2016-08-18 19:31:45 -07:00
2016-09-05 08:02:54 +12:00
2016-11-07 16:11:00 -08:00
2016-11-07 16:11:00 -08:00
2016-02-18 08:37:58 -08:00
2016-06-10 11:55:21 +02:00
2016-01-05 11:37:52 -05:00
2016-06-10 11:55:21 +02:00
2016-11-01 13:45:36 +00:00
2016-11-01 13:45:36 +00:00
2016-01-05 16:57:24 -05:00
2016-06-10 11:55:21 +02:00
2016-09-05 08:02:54 +12:00
2016-09-05 08:02:54 +12:00
2016-01-05 19:49:06 -05:00
2016-06-10 11:55:21 +02:00
2016-01-05 16:57:24 -05:00
2016-06-10 11:55:21 +02:00
2016-08-26 10:45:59 -07:00
2016-10-19 10:06:13 -04:00
2016-01-05 16:57:24 -05:00
2016-08-08 12:47:05 +12:00
2016-09-05 08:02:54 +12:00
2016-09-05 08:02:54 +12:00
2016-09-05 12:34:40 -07:00
2016-06-10 11:55:21 +02:00
2016-09-05 08:02:54 +12:00
2016-09-05 08:02:54 +12:00
2016-03-02 17:23:11 -03:00
2016-04-10 17:34:15 -04:00
2016-08-08 12:36:27 +12:00
2016-08-08 12:36:27 +12:00
2016-09-07 13:35:33 -07:00
2016-09-07 13:35:33 -07:00
2016-03-02 15:36:32 -08:00
2016-04-10 17:34:15 -04:00
2016-03-02 15:36:32 -08:00
2016-04-10 13:01:24 -04:00
2016-08-18 15:08:50 -04:00
2016-10-28 00:11:08 +01:00
2016-01-05 19:49:06 -05:00
2016-04-10 17:34:15 -04:00
2016-01-13 16:33:08 -05:00
2016-04-10 17:34:15 -04:00
2016-03-07 14:26:19 -08:00
2016-04-10 17:34:15 -04:00
2016-03-07 14:26:19 -08:00
2016-04-10 17:34:15 -04:00
2016-09-22 07:46:35 +12:00
2016-09-22 07:46:35 +12:00
2016-03-07 14:26:19 -08:00
2016-04-10 17:34:15 -04:00
2016-10-19 23:14:55 +03:00
2016-10-28 14:41:03 +02:00