Skip to content

Commit

Permalink
add attach_on_boot to the resource_volume_attachement schema
Browse files Browse the repository at this point in the history
  • Loading branch information
dippydocus committed Feb 17, 2025
1 parent 18ba0a3 commit 1b6fa6f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions civo/volume/resource_volume_attachment.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ func ResourceVolumeAttachment() *schema.Resource {
ForceNew: true,
Description: "The region for the volume attachment",
},
"attach_at_boot": {
Type: schema.TypeBool,
Optional: true,
Default: false,
ForceNew: true,
Description: "Whether to attach the instance to the volume at boot",
},
},
CreateContext: resourceVolumeAttachmentCreate,
ReadContext: resourceVolumeAttachmentRead,
Expand Down

0 comments on commit 1b6fa6f

Please sign in to comment.