Skip to content

Commit

Permalink
Fix make generate
Browse files Browse the repository at this point in the history
  • Loading branch information
JenGoldstrich committed Oct 13, 2023
1 parent 865da4d commit ee73d8e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 22 deletions.
3 changes: 1 addition & 2 deletions builder/azure/arm/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,7 @@ type Config struct {
// The end of life date (2006-01-02T15:04:05.99Z) of the gallery Image Version. This property
// can be used for decommissioning purposes.
SharedGalleryImageVersionEndOfLifeDate string `mapstructure:"shared_gallery_image_version_end_of_life_date" required:"false"`
// The number of replicas of the Image Version to be created per region. This
// property would take effect for a region when regionalReplicaCount is not specified.
// The number of replicas of the Image Version to be created per region.
// Replica count must be between 1 and 100, but 50 replicas should be sufficient for most use cases.
// This value can only be 1 when using shallow replication
SharedGalleryImageVersionReplicaCount int64 `mapstructure:"shared_image_gallery_replica_count" required:"false"`
Expand Down
32 changes: 14 additions & 18 deletions builder/azure/arm/config.hcl2spec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions docs-partials/builder/azure/arm/Config-not-required.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@
- `shared_gallery_image_version_end_of_life_date` (string) - The end of life date (2006-01-02T15:04:05.99Z) of the gallery Image Version. This property
can be used for decommissioning purposes.

- `shared_image_gallery_replica_count` (int64) - The number of replicas of the Image Version to be created per region. This
property would take effect for a region when regionalReplicaCount is not specified.
- `shared_image_gallery_replica_count` (int64) - The number of replicas of the Image Version to be created per region.
Replica count must be between 1 and 100, but 50 replicas should be sufficient for most use cases.
This value can only be 1 when using shallow replication

Expand Down

0 comments on commit ee73d8e

Please sign in to comment.