Anthropic’s Terraform provider is in public beta
Anthropic has released its Terraform provider in public beta. Teams that already manage their infrastructure as code with Terraform can now handle Claude the same way. Claude Managed Agents, workspaces and the people in them are written down in files and kept under version control with everything else, and each change is reviewed with terraform plan before it is applied. Anthropic announced the beta on Thursday through its ClaudeDevs account, and setup is covered in Anthropic’s Claude Platform docs.
What it covers
Managed Agents is Anthropic’s hosted service that runs agents for you, and it has been in public beta since April. In September Anthropic gave its ant command-line tool a command, ant apply, that syncs Managed Agents from files in a repo. The provider covers that ground, including environments, vaults, skills, memory stores and deployments. It also reaches the admin side of an account, which ant apply did not: service accounts, Workload Identity Federation and customer-managed encryption keys.
Anthropic’s guide asks for Terraform 1.11 or later and the ant CLI. You sign in with ant auth login, and the provider uses that saved login. If your shell exports ANTHROPIC_API_KEY or ANTHROPIC_AUTH_TOKEN, unset it first, because either one overrides the login. Anthropic also warns that anthropics/anthropic is the only official address for the provider. A provider runs with your Anthropic credentials, and one installed from any other address could read them. After your first apply, run terraform plan again. It should report no changes, and Anthropic asks you to report it as a bug if it doesn’t.
Our analysis
What we checked
On December 4 we read the schema and code of provider version 0.1.0 alongside Anthropic’s docs. We also ran terraform init, validate and plan on the provider’s quickstart example.
Deletion protection doesn’t cover everything. Our short post said it is on by default, so terraform destroy fails until you turn it off. That is true for the two resources in the quickstart, the environment and the agent. But 17 of the provider’s 33 resource types have no such switch, and they include deployments, workspace members and customer-managed keys. Many deletions are really archives, and the provider’s own messages say they can’t be undone. Archiving an agent also archives every one of its deployments, and archiving a workspace deactivates every API key in it. From the code and docs, we infer that destroying a deployment archives it permanently with no built-in guard. We did not test this. Anthropic’s docs suggest adding lifecycle { prevent_destroy = true } to anything a mistaken plan must never archive.
Not every credential works for every resource. According to Anthropic’s credential table, an Admin API key can’t manage Managed Agents resources. It can’t manage service accounts or Workload Identity Federation either, which need an org:admin login or a federation token. And unless the provider block names a profile, an environment variable wins over your login without any warning.
The version floor is lower for simple setups. The quickstart installed and validated on Terraform 1.10.5 and 1.5.7. We ran each version once, with init and validate only, and applied nothing. Terraform 1.11 was needed only for a config that sets a write-only secret, such as a vault credential’s token. This matches the provider’s README, which says 1.0 or later, and 1.11 or later for write-only secrets.
Up next
In Claude Code, Stop now really means stop
When Claude Code draws a chart from made-up numbers, it will now say so on the chart itself, marked as simulated. The change sits in version 2.1.336’s long list of changes.
Related stories
- ant apply syncs Managed Agents from files in a repo
- Claude expands MCP Apps support with app tools and more
- Anthropic hands Agent Skills to the foundation behind MCP
- Claude now picks its own agent team in Managed Agents
- Anthropic’s daily-brief agent treats a failed read as news
- Claude’s SDKs run the click loop, but the browser is yours
Comments
Join the conversation
Sign in to leave a comment. It appears after moderation.

