Skip to content

Commit 1b28a43

Browse files
authored
fix(instance_server): set at least one of image or root_volume id (#1441)
1 parent 711e277 commit 1b28a43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scaleway/resource_instance_server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ func resourceScalewayInstanceServer() *schema.Resource {
5050
ForceNew: true,
5151
Description: "The UUID or the label of the base image used by the server",
5252
DiffSuppressFunc: diffSuppressFuncLocality,
53+
AtLeastOneOf: []string{"image", "root_volume.0.volume_id"},
5354
},
5455
"type": {
5556
Type: schema.TypeString,

0 commit comments

Comments
 (0)