File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -424,27 +424,31 @@ func ResourceIBMISInstanceTemplate() *schema.Resource {
424424 MaxItems : 1 ,
425425 Optional : true ,
426426 ForceNew : true ,
427+ Computed : true ,
427428 Description : "The usage constraints to be matched against requested instance or bare metal server properties to determine compatibility." ,
428429 Elem : & schema.Resource {
429430 Schema : map [string ]* schema.Schema {
430431 "api_version" : & schema.Schema {
431432 Type : schema .TypeString ,
432433 Optional : true ,
433434 ForceNew : true ,
435+ Computed : true ,
434436 ValidateFunc : validate .InvokeValidator ("ibm_is_volume" , "allowed_use.api_version" ),
435437 Description : "The API version with which to evaluate the expressions." ,
436438 },
437439 "bare_metal_server" : & schema.Schema {
438440 Type : schema .TypeString ,
439441 Optional : true ,
440442 ForceNew : true ,
443+ Computed : true ,
441444 ValidateFunc : validate .InvokeValidator ("ibm_is_volume" , "allowed_use.bare_metal_server" ),
442445 Description : "The expression that must be satisfied by the properties of a bare metal server provisioned using the image data in this volume." ,
443446 },
444447 "instance" : & schema.Schema {
445448 Type : schema .TypeString ,
446449 Optional : true ,
447450 ForceNew : true ,
451+ Computed : true ,
448452 ValidateFunc : validate .InvokeValidator ("ibm_is_volume" , "allowed_use.instance" ),
449453 Description : "The expression that must be satisfied by the properties of a virtual server instance provisioned using this volume." ,
450454 },
You can’t perform that action at this time.
0 commit comments