Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions mmv1/api/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,6 @@ type Type struct {
// The name of the key. Used in the Terraform schema as a field name.
KeyName string `yaml:"key_name,omitempty"`

// Deprecated. A description of the key's format. Used in Terraform to describe
// the field in documentation.
KeyDescription string `yaml:"key_description,omitempty"`

// ====================
// KeyValuePairs Fields
// ====================
Expand Down Expand Up @@ -528,10 +524,6 @@ func (t *Type) Validate(rName string) (es []error) {
es = append(es, fmt.Errorf("property %s cannot be write_only and sensitive at the same time in resource %s", fullFieldPath, rName))
}

if t.KeyDescription != "" {
es = append(es, fmt.Errorf("property %s key_description can't be set in resource %s; it's deprecated", fullFieldPath, rName))
}

t.validateLabelsField()

switch {
Expand Down
Loading