devin_schedule 资源已弃用,请改用 devin_automation。
DEVIN_TOKEN 环境变量使用服务用户凭据 (以 cog_ 开头) 进行身份验证。有关如何获取此类凭据,请参阅身份验证。
了解更多
Terraform Registry
提供商完整文档:配置、资源和数据源。
GitHub 代码仓库
提供商源代码。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
使用官方 Terraform 提供商以基础架构即代码的方式管理 Devin 资源
devin_schedule 资源已弃用,请改用 devin_automation。
terraform {
required_providers {
devin = {
source = "registry.terraform.io/cognitionai/devin"
}
}
}
provider "devin" {
# 默认从 DEVIN_TOKEN 环境变量中读取令牌。
}
resource "devin_knowledge_note" "conventions" {
org_id = "org-abc123"
name = "API Conventions"
body = file("knowledge/api-conventions.md")
trigger = "When working on API endpoints"
}
DEVIN_TOKEN 环境变量使用服务用户凭据 (以 cog_ 开头) 进行身份验证。有关如何获取此类凭据,请参阅身份验证。
