diff --git a/docs/resources/storage_bucket.md b/docs/resources/storage_bucket.md index 0ddb731..1c08572 100644 --- a/docs/resources/storage_bucket.md +++ b/docs/resources/storage_bucket.md @@ -16,6 +16,16 @@ resource "incus_storage_bucket" "bucket1" { } ``` +## Example to create bucket from backup file + +```hcl +resource "incus_storage_bucket" "bucket_from_backup" { + name = "restored-bucket" + pool = "default" + source_file = "/path/to/backup.tar.gz" +} +``` + ## Argument Reference * `name` - **Required** - Name of the storage bucket. @@ -35,6 +45,8 @@ resource "incus_storage_bucket" "bucket1" { * `target` - *Optional* - Specify a target node in a cluster. +* `source_file` - *Optional* - Path to a backup file from which the bucket will be created. + ## Attribute Reference