diff --git a/docs/resources/associated_site.md b/docs/resources/associated_site.md index 51611c17f..39293e332 100644 --- a/docs/resources/associated_site.md +++ b/docs/resources/associated_site.md @@ -138,14 +138,14 @@ All examples for the Associated Site resource can be found in the [examples](htt #### Required #### - * `key` (key) - (string) The key used to uniquely identify this configuration object. + * `key` (key) - (string) The key used to uniquely identify this Associated Site object. * `value` (value) - (string) The value of the property. * `tags` - (list) A list of Tags (ACI object [tagTag](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagTag/overview)). Tags can also be configured using a separate [aci_tag](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/tag) resource. This attribute is supported in ACI versions: 3.2(1l) and later. #### Required #### - * `key` (key) - (string) The key used to uniquely identify this configuration object. + * `key` (key) - (string) The key used to uniquely identify this Associated Site object. * `value` (value) - (string) The value of the property. ## Importing diff --git a/docs/resources/remote_site_id_mappings.md b/docs/resources/remote_site_id_mappings.md index bcefd894b..e142c5e50 100644 --- a/docs/resources/remote_site_id_mappings.md +++ b/docs/resources/remote_site_id_mappings.md @@ -111,14 +111,14 @@ All examples for the Remote Site Id Mappings resource can be found in the [examp #### Required #### - * `key` (key) - (string) The key used to uniquely identify this configuration object. + * `key` (key) - (string) The key used to uniquely identify this Associated Site object. * `value` (value) - (string) The value of the property. * `tags` - (list) A list of Tags (ACI object [tagTag](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagTag/overview)). Tags can also be configured using a separate [aci_tag](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/tag) resource. This attribute is supported in ACI versions: 3.2(1l) and later. #### Required #### - * `key` (key) - (string) The key used to uniquely identify this configuration object. + * `key` (key) - (string) The key used to uniquely identify this Associated Site object. * `value` (value) - (string) The value of the property. ## Importing diff --git a/gen/generator.go b/gen/generator.go index 37ee4af46..9102079d5 100644 --- a/gen/generator.go +++ b/gen/generator.go @@ -1663,21 +1663,6 @@ Precendence order is: 2. global level from properties.yaml */ func requiredProperty(propertyName, classPkgName string, definitions Definitions) bool { - // precedenceList := []string{classPkgName, "global"} - // for _, precedence := range precedenceList { - // if classDetails, ok := definitions.Properties[precedence]; ok { - // for key, value := range classDetails.(map[interface{}]interface{}) { - // if key.(string) == "resource_required" { - // for _, v := range value.([]interface{}) { - // if v.(string) == propertyName { - // return true - // } - // } - // } - // } - // } - // } - // return false precedenceList := []string{classPkgName, "global"} for _, precedence := range precedenceList { if classDetails, ok := definitions.Properties[precedence]; ok {