From d7360f147c45773436db45ad7c538bcc512f63ed Mon Sep 17 00:00:00 2001 From: "quantcloud[bot]" Date: Thu, 12 Feb 2026 03:22:13 +0000 Subject: [PATCH] chore(terraform): Auto-generated from API spec v4.10.0 Generated from unified API spec v4.10.0 Changes: - Updated resource schemas - Deduplicated type definitions This PR was automatically created by the API generation pipeline. --- internal/resource_crawler/crawler_resource_gen.go | 6 ++++-- .../crawler_schedule_resource_gen.go | 11 ++++++----- .../custom_headers_resource_gen.go | 12 ++++++++---- internal/resource_project/project_resource_gen.go | 12 ++++++++---- 4 files changed, 26 insertions(+), 15 deletions(-) diff --git a/internal/resource_crawler/crawler_resource_gen.go b/internal/resource_crawler/crawler_resource_gen.go index e16ebfb..11a00dc 100644 --- a/internal/resource_crawler/crawler_resource_gen.go +++ b/internal/resource_crawler/crawler_resource_gen.go @@ -105,8 +105,10 @@ func CrawlerResourceSchema(ctx context.Context) schema.Schema { MarkdownDescription: "Crawler configuration (YAML)", }, "crawler": schema.StringAttribute{ - Optional: true, - Computed: true, + Optional: true, + Computed: true, + Description: "The UUID of the crawler", + MarkdownDescription: "The UUID of the crawler", }, "created_at": schema.StringAttribute{ Computed: true, diff --git a/internal/resource_crawler_schedule/crawler_schedule_resource_gen.go b/internal/resource_crawler_schedule/crawler_schedule_resource_gen.go index f62d8cf..9c842f3 100644 --- a/internal/resource_crawler_schedule/crawler_schedule_resource_gen.go +++ b/internal/resource_crawler_schedule/crawler_schedule_resource_gen.go @@ -50,9 +50,10 @@ func CrawlerScheduleResourceSchema(ctx context.Context) schema.Schema { MarkdownDescription: "Schedule ID", }, "name": schema.StringAttribute{ - Required: true, - Description: "Schedule name", - MarkdownDescription: "Schedule name", + Optional: true, + Computed: true, + Description: "Schedule name. If not provided, defaults to 'Schedule {crawler_name}'.", + MarkdownDescription: "Schedule name. If not provided, defaults to 'Schedule {crawler_name}'.", }, "organization": schema.StringAttribute{ Optional: true, @@ -73,8 +74,8 @@ func CrawlerScheduleResourceSchema(ctx context.Context) schema.Schema { }, "schedule_cron_string": schema.StringAttribute{ Required: true, - Description: "Cron schedule string", - MarkdownDescription: "Cron schedule string", + Description: "Standard Unix cron expression with 5 space-separated fields: minute, hour, day-of-month, month, day-of-week. Example: 0 2 * * * for daily at 2 AM.", + MarkdownDescription: "Standard Unix cron expression with 5 space-separated fields: minute, hour, day-of-month, month, day-of-week. Example: 0 2 * * * for daily at 2 AM.", }, "updated_at": schema.StringAttribute{ Computed: true, diff --git a/internal/resource_custom_headers/custom_headers_resource_gen.go b/internal/resource_custom_headers/custom_headers_resource_gen.go index 950bf39..f2032a7 100644 --- a/internal/resource_custom_headers/custom_headers_resource_gen.go +++ b/internal/resource_custom_headers/custom_headers_resource_gen.go @@ -19,12 +19,16 @@ func CustomHeadersResourceSchema(ctx context.Context) schema.Schema { MarkdownDescription: "Custom headers", }, "organization": schema.StringAttribute{ - Optional: true, - Computed: true, + Optional: true, + Computed: true, + Description: "Organization identifier", + MarkdownDescription: "Organization identifier", }, "project": schema.StringAttribute{ - Optional: true, - Computed: true, + Optional: true, + Computed: true, + Description: "Project identifier", + MarkdownDescription: "Project identifier", }, }, } diff --git a/internal/resource_project/project_resource_gen.go b/internal/resource_project/project_resource_gen.go index 490ce59..414c2a9 100644 --- a/internal/resource_project/project_resource_gen.go +++ b/internal/resource_project/project_resource_gen.go @@ -62,12 +62,16 @@ func ProjectResourceSchema(ctx context.Context) schema.Schema { MarkdownDescription: "Project name", }, "organization": schema.StringAttribute{ - Optional: true, - Computed: true, + Optional: true, + Computed: true, + Description: "Organization identifier", + MarkdownDescription: "Organization identifier", }, "project": schema.StringAttribute{ - Optional: true, - Computed: true, + Optional: true, + Computed: true, + Description: "Project identifier", + MarkdownDescription: "Project identifier", }, "region": schema.StringAttribute{ Optional: true,