Skip to content

Commit 5682489

Browse files
Instance Template change
1 parent 97c6da1 commit 5682489

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ibm/service/vpc/resource_ibm_is_instance_template.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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
},

0 commit comments

Comments
 (0)