Merge branch 'main' into bump-deps

main
Mikhail Yohman 2023-03-27 08:59:10 -06:00
commit 61b70f7550
No known key found for this signature in database
GPG Key ID: B317161F0F35E82A
2 changed files with 13 additions and 0 deletions

View File

@ -72,6 +72,12 @@ func dataSourceManufacturers() *schema.Resource {
Type: schema.TypeString,
Required: true,
},
"notes_url": {
Description: "Notes for manufacturer.",
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"platform_count": {
Description: "Manufacturer's platform count.",
Type: schema.TypeInt,

View File

@ -71,6 +71,12 @@ func resourceManufacturer() *schema.Resource {
Type: schema.TypeString,
Required: true,
},
"notes_url": {
Description: "Notes for manufacturer.",
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"platform_count": {
Description: "Manufacturer's platform count.",
Type: schema.TypeInt,
@ -200,6 +206,7 @@ func resourceManufacturerRead(ctx context.Context, d *schema.ResourceData, meta
d.Set("description", item["description"].(string))
d.Set("display", item["display"].(string))
d.Set("id", item["id"].(string))
d.Set("notes_url", item["notes_url"].(string))
d.Set("slug", item["slug"].(string))
d.Set("url", item["url"].(string))
d.Set("last_updated", item["last_updated"].(string))