Skip to content

Commit

Permalink
Make it clearer where users can find a target_region example (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
JenGoldstrich authored Feb 21, 2025
1 parent ae09763 commit d3a1d52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .web-docs/components/builder/arm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,7 @@ The shared_image_gallery_destination block is available for publishing a new ima
a DiskEncryptionSetId can be specified for each target region to support multi-region disk encryption.
At a minimum their must be one target region entry for the primary build region where the image version will be stored.
Target region must only contain one entry matching the build region when using shallow replication.
See the `shared_image_gallery_destination` block description for an example of using this field

- `storage_account_type` (string) - Specify a storage account type for the Shared Image Gallery Image Version.
Defaults to `Standard_LRS`. Accepted values are `Standard_LRS`, `Standard_ZRS` and `Premium_LRS`
Expand Down
1 change: 1 addition & 0 deletions builder/azure/arm/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ type SharedImageGalleryDestination struct {
// a DiskEncryptionSetId can be specified for each target region to support multi-region disk encryption.
// At a minimum their must be one target region entry for the primary build region where the image version will be stored.
// Target region must only contain one entry matching the build region when using shallow replication.
// See the `shared_image_gallery_destination` block description for an example of using this field
SigDestinationTargetRegions []TargetRegion `mapstructure:"target_region"`
// Specify a storage account type for the Shared Image Gallery Image Version.
// Defaults to `Standard_LRS`. Accepted values are `Standard_LRS`, `Standard_ZRS` and `Premium_LRS`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
a DiskEncryptionSetId can be specified for each target region to support multi-region disk encryption.
At a minimum their must be one target region entry for the primary build region where the image version will be stored.
Target region must only contain one entry matching the build region when using shallow replication.
See the `shared_image_gallery_destination` block description for an example of using this field

- `storage_account_type` (string) - Specify a storage account type for the Shared Image Gallery Image Version.
Defaults to `Standard_LRS`. Accepted values are `Standard_LRS`, `Standard_ZRS` and `Premium_LRS`
Expand Down

0 comments on commit d3a1d52

Please sign in to comment.