Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Codelax committed Dec 20, 2024
1 parent ebcfe94 commit 3f7fb91
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions builder/scaleway/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ type Config struct {
RemoveVolume bool `mapstructure:"remove_volume"`

// BlockVolumes define block volumes attached to the server alongside the default volume
// See the [BlockVolumes](#block-volumes-configuration) documentation for fields.
BlockVolumes []ConfigBlockVolume `mapstructure:"block_volume"`

// This value allows the user to remove information
Expand Down
1 change: 1 addition & 0 deletions docs-partials/builder/scaleway/Config-not-required.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- `remove_volume` (bool) - RemoveVolume remove the temporary volumes created before running the server

- `block_volume` ([]ConfigBlockVolume) - BlockVolumes define block volumes attached to the server alongside the default volume
See the [BlockVolumes](#block-volumes-configuration) documentation for fields.

- `cleanup_machine_related_data` (string) - This value allows the user to remove information
that is particular to the instance used to build the image
Expand Down
4 changes: 4 additions & 0 deletions docs/builders/scaleway.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ can also be supplied to override the typical auto-generated key:

@include 'builder/scaleway/Config-not-required.mdx'

### Block volumes configuration

@include 'builder/scaleway/ConfigBlockVolume-not-required.mdx'

## Basic Example

Here is a basic example. It is completely valid as soon as you enter your own
Expand Down

0 comments on commit 3f7fb91

Please sign in to comment.