remove typo'd option from docs

This commit is contained in:
Megan Marsh 2020-10-07 16:14:13 -07:00
parent d7ba10c23e
commit d6aa172edc
3 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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.

View File

@ -3,5 +3,3 @@
- `target_regions` ([]TargetRegion) - Target Regions
- `exclude_from_latest` (bool) - Exclude From Latest
- `exlude_from_latest` (bool) - Exclude From Latest Typo