diff --git a/builder/azure/chroot/shared_image_gallery_destination.go b/builder/azure/chroot/shared_image_gallery_destination.go index 773f65ad4..8491424b2 100644 --- a/builder/azure/chroot/shared_image_gallery_destination.go +++ b/builder/azure/chroot/shared_image_gallery_destination.go @@ -18,7 +18,7 @@ type SharedImageGalleryDestination struct { TargetRegions []TargetRegion `mapstructure:"target_regions"` ExcludeFromLatest bool `mapstructure:"exclude_from_latest"` - ExcludeFromLatestTypo bool `mapstructure:"exlude_from_latest"` + ExcludeFromLatestTypo bool `mapstructure:"exlude_from_latest" undocumented:"true"` } // TargetRegion describes a region where the shared image should be replicated diff --git a/builder/azure/chroot/shared_image_gallery_destination.hcl2spec.go b/builder/azure/chroot/shared_image_gallery_destination.hcl2spec.go index e73a8ba0c..f227920ad 100644 --- a/builder/azure/chroot/shared_image_gallery_destination.hcl2spec.go +++ b/builder/azure/chroot/shared_image_gallery_destination.hcl2spec.go @@ -15,7 +15,7 @@ type FlatSharedImageGalleryDestination struct { ImageVersion *string `mapstructure:"image_version" required:"true" cty:"image_version" hcl:"image_version"` TargetRegions []FlatTargetRegion `mapstructure:"target_regions" cty:"target_regions" hcl:"target_regions"` ExcludeFromLatest *bool `mapstructure:"exclude_from_latest" cty:"exclude_from_latest" hcl:"exclude_from_latest"` - ExcludeFromLatestTypo *bool `mapstructure:"exlude_from_latest" cty:"exlude_from_latest" hcl:"exlude_from_latest"` + ExcludeFromLatestTypo *bool `mapstructure:"exlude_from_latest" undocumented:"true" cty:"exlude_from_latest" hcl:"exlude_from_latest"` } // FlatMapstructure returns a new FlatSharedImageGalleryDestination. diff --git a/website/pages/partials/builder/azure/chroot/SharedImageGalleryDestination-not-required.mdx b/website/pages/partials/builder/azure/chroot/SharedImageGalleryDestination-not-required.mdx index f986d6962..2cb522d8c 100644 --- a/website/pages/partials/builder/azure/chroot/SharedImageGalleryDestination-not-required.mdx +++ b/website/pages/partials/builder/azure/chroot/SharedImageGalleryDestination-not-required.mdx @@ -3,5 +3,3 @@ - `target_regions` ([]TargetRegion) - Target Regions - `exclude_from_latest` (bool) - Exclude From Latest - -- `exlude_from_latest` (bool) - Exclude From Latest Typo