Anthropic has put a Terraform provider for the Claude Platform into public beta. It lets teams define Claude Managed Agents, their environments, vaults, skills and memory stores, plus workspaces, service accounts and encryption keys, as code that goes through the usual review, terraform plan and apply cycle. That is good news for anyone running more than a handful of agents. It also means that system prompts, tool schemas and agent memory now end up in a Terraform state file, and many teams treat that file far more casually than an API key. We installed the provider to see what it actually contains.
The Anthropic Terraform provider is now in public beta.
Define Claude Managed Agents, workspaces, and members as code, version them with the rest of your infrastructure, and review each change with terraform plan.
What the provider covers
Version 0.1.0 appeared on the Terraform Registry on December 3 at 19:54 CET and needs Terraform 1.11 or later plus Anthropic’s ant command line tool for sign-in. It works against the Claude API and, through extra provider arguments, against Claude on Amazon Bedrock and Google Cloud. The docs pitch it for the moment when agents stop being experiments: the same agent definition can move from a development workspace to production, every change shows up as a diff, and a rollback is a revert in Git.
Each agent change publishes a new server-side version, and the provider exports that version number, so a pipeline can pin a deployment to a known agent configuration instead of whatever was last clicked together in the Console.
Our test: what is in version 0.1.0
On December 4 we ran terraform init with Terraform 1.17.3 in an empty directory, using a minimal configuration with one sandbox environment and one agent. The provider downloaded without an account (about 82 MB), terraform validate passed, and we read the full schema with terraform providers schema -json. Without credentials, terraform plan stopped before touching anything and listed the four places it had looked for a key.
| What we checked | Result |
|---|---|
| Version and release | 0.1.0, on the Terraform Registry since December 3, 19:54 CET |
| Minimum Terraform version | 1.11 (we tested 1.17.3) |
| Resource types | 33 |
| Data sources (read only) | 69 |
| Types with deletion protection on by default | 16 |
| Write-only secret arguments (never stored in state) | 8 |
| Platforms in the provider block | Claude API, Amazon Bedrock, Google Cloud |
| Download size of the provider | about 82 MB |
Source: our own terraform init, validate and providers schema run on December 4, 2026, and the Terraform Registry entry. Counts are ours.
Two details stood out. Deletion protection is switched on by default for 16 resource types, including agents, environments, vaults, skills, workspaces and service accounts, so a careless terraform destroy fails instead of wiping production. And only eight arguments in the whole schema are write-only secrets that Terraform never stores: the vault credential tokens and client secrets, a deployment’s GitHub token and telemetry headers. Everything else you configure is kept in state.
Five things to settle before the first apply
- State is now sensitive. Anthropic’s behavior page says state holds agent system prompts, custom tool schemas, memory content and inline skill files in plain text, and plan output shows the same values in CI logs and pull request comments. Use an encrypted remote backend with access limits, and keep plan output out of public CI logs.
- Pass secrets only through write-only arguments. Declare their variables as
ephemeral = true. Terraform cannot see when such a value changes, so to rotate a token you bump the matching_wo_versionargument. - Pin the organization and unset stray keys. The provider block requires
organization_idon the Claude API and refuses to plan if the credentials belong to another organization. An exportedANTHROPIC_API_KEYstill beats your login profile in the lookup order, so unset it before running against production. - Know what destroy means. Destroying an agent archives it permanently together with its deployments, and destroying a workspace archives the workspace and its Developer API keys. Deletion protection only delays that by one extra apply.
- Commit the lock file. During the beta, resources and arguments can change, and Anthropic warns that some breaking changes can ship in a minor release. The lock file decides when you take them.
A minimal guard for prompts that you do not want in the repository looks like this:
variable "support_prompt" {
type = string
sensitive = true # hidden in plan output, but still stored in state
}The comment is the point: sensitive keeps the prompt out of logs, not out of state.
Credentials decide what you can manage
Managed Agents resources need a credential that acts inside one workspace, such as a workspace-scoped Developer API key, a normal login or a federation rule with the workspace:developer scope. Organization resources such as workspaces and members need an Admin API key or an org:admin login. No single key does both, so teams that want one repository for everything will end up with two provider blocks and two identities. For pipelines, Anthropic points to workload identity federation instead of long-lived keys. Existing agents and workspaces can be adopted with import blocks and terraform plan -generate-config-out, which writes the matching resource code for you.
If you run agents through Amazon Bedrock, the same provider can manage the Bedrock version of Managed Agents that Anthropic and AWS launched this week. For how agent configuration layers fit together on the coding side, see our explainer on CLAUDE.md, skills, hooks and subagents. All our Claude coverage is on the Claude product page.
How we checked
Checked on 4 December 2026, 08:37 CET.
- Anthropic’s Terraform docs: getting started, authentication, operations and behavior pages, read December 4, 2026
- Terraform Registry entry for anthropics/anthropic 0.1.0 and the provider schema from our own terraform init with Terraform 1.17.3
- The resource counts, the 16 deletion-protected types and the eight write-only arguments are our own count from that schema
- We did not apply anything against a live Claude organization
i10x Perspective
Agents are turning into infrastructure, and this provider makes that official. That is mostly positive: reviewable diffs and pinned versions are exactly what long-running agents have lacked. But it moves the most valuable part of an agent, its prompt and memory, into a file that DevOps teams have spent years treating as a technical byproduct. Teams that adopt the provider should review their state backend with the same care as their secrets manager, because for agents the state file is close to being one.
What is still open
Anthropic has not said when the provider leaves beta, whether the Claude Console will show which resources are managed by Terraform, or how drift is handled when a colleague edits an agent in the Console. The Registry also lists the provider in its community tier, so the only reliable check is the exact source address anthropics/anthropic. We will update this article when the beta ends.






