From fd5c79b8327d2ab5b26c59bea6faa2cf1c99274c Mon Sep 17 00:00:00 2001 From: Craig Squire <677724+csquire@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:29:24 -0600 Subject: [PATCH] chore: Update docs --- docs/resources/license_map.md | 6 +++--- pkg/framework/objects/license_map/schema.go | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/resources/license_map.md b/docs/resources/license_map.md index 473ffb93..135da2b6 100644 --- a/docs/resources/license_map.md +++ b/docs/resources/license_map.md @@ -2,13 +2,13 @@ page_title: "dbtcloud_license_map Resource - dbtcloud" subcategory: "" description: |- - + Maps SSO groups to a given license type --- # dbtcloud_license_map (Resource) - +Maps SSO groups to a given license type ## Example Usage @@ -45,7 +45,7 @@ resource "dbtcloud_license_map" "it_license_map" { ### Read-Only -- `id` (String) The ID of this resource. +- `id` (Number) The ID of the license map ## Import diff --git a/pkg/framework/objects/license_map/schema.go b/pkg/framework/objects/license_map/schema.go index b691596e..b474a573 100644 --- a/pkg/framework/objects/license_map/schema.go +++ b/pkg/framework/objects/license_map/schema.go @@ -2,6 +2,7 @@ package license_map import ( "context" + "github.com/dbt-labs/terraform-provider-dbtcloud/pkg/helper" "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource/schema" @@ -17,6 +18,9 @@ func (r *licenseMapResource) Schema( resp *resource.SchemaResponse, ) { resp.Schema = schema.Schema{ + Description: helper.DocString( + `Maps SSO groups to a given license type`, + ), Attributes: map[string]schema.Attribute{ "id": schema.Int64Attribute{ Computed: true,