Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6b8b915

Browse files
committed
woot
1 parent38ada64 commit6b8b915

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

‎docs/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,5 @@ resource "coderd_template" "example" {
8484

8585
###Optional
8686

87-
-`default_organization_id` (String) Default organization ID to use when creating resources. Defaults to the first organization the token has access to.
8887
-`token` (String) API token for communicating with the deployment. Most resource types require elevated permissions. Defaults to`$CODER_SESSION_TOKEN`.
8988
-`url` (String) URL to the Coder deployment. Defaults to`$CODER_URL`.

‎docs/resources/template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ resource "coderd_template" "ubuntu-main" {
7979
-`failure_ttl_ms` (Number) (Enterprise) The max lifetime before Coder stops all resources for failed workspaces created from this template, in milliseconds.
8080
-`icon` (String) Relative path or external URL that specifes an icon to be displayed in the dashboard.
8181
-`max_port_share_level` (String) (Enterprise) The maximum port share level for workspaces created from this template. Defaults to`owner` on an Enterprise deployment, or`public` otherwise.
82-
-`organization_id` (String) The ID of the organization. Defaults to the provider's default organization
82+
-`organization_id` (String) The ID of the organization that this template belongs to.
8383
-`require_active_version` (Boolean) (Enterprise) Whether workspaces must be created from the active version of this template. Defaults to false.
8484
-`time_til_dormant_autodelete_ms` (Number) (Enterprise) The max lifetime before Coder permanently deletes dormant workspaces created from this template.
8585
-`time_til_dormant_ms` (Number) (Enterprise) The max lifetime before Coder locks inactive workspaces created from this template, in milliseconds.

‎internal/provider/template_resource.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,8 @@ func (r *TemplateResource) Schema(ctx context.Context, req resource.SchemaReques
278278
},
279279
"organization_id": schema.StringAttribute{
280280
MarkdownDescription:"The ID of the organization that this template belongs to.",
281+
Computed:true,
282+
Optional:true,
281283
CustomType:UUIDType,
282284
PlanModifiers: []planmodifier.String{
283285
stringplanmodifier.RequiresReplaceIfConfigured(),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp