What this thread does
Do first: add source = "anthropics/anthropic" and version = "~> 0.1.0" under required_providers, set organization_id in the provider "anthropic" block, then pick the credential your resources accept: an Admin API key in ANTHROPIC_API_KEY is accepted for anthropic_workspace, workspace members, external keys and OpenTelemetry destinations, Managed Agents resources need a workspace-scoped Developer API key, a login or a federation rule, and service accounts and federation resources need an org:admin token. README Credentials
Not for: finding Terraform provider documentation from a coding agent (see hashicorp-terraform-mcp-server-registry-docs-for-agents), or installing the provider from any address other than anthropics/anthropic. README
Short answer
The Anthropic Terraform provider manages your Anthropic organization and your Claude Managed Agents resources as code. README Its behavior page also covers Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed) and Claude Managed Agents on Amazon Bedrock. Credentials It is a public beta, and the README warns of possible breaking changes that need configuration updates. README v0.1.0 was published on 2026-12-03 as the initial public beta release. Release Registry
Choose / don't choose
| Route | Choose it when | Not for |
|---|---|---|
| Terraform provider | You want Managed Agents, workspaces and members defined as code and reviewed with terraform plan. README | Anyone who cannot accept breaking changes in a beta |
Settings that matter
| Item | Behavior | Source |
|---|---|---|
source = "anthropics/anthropic" | The only official source address; another address could read your credentials | README |
version = "~> 0.1.0" | Version constraint used in the README example | README |
organization_id | Set in the provider block; from Organization settings in the Claude Console | README |
ANTHROPIC_API_KEY | An Admin API key is accepted for workspaces, workspace members, external keys and OpenTelemetry destinations; it is not accepted for Managed Agents resources, which accept a workspace-scoped Developer API key (also a login, or a federation rule with workspace:developer), nor for service accounts, workspace service accounts, federation issuers, federation rules and federation rule workspaces, which need an org:admin token | README Credentials |
workspace_id | On Claude Platform on AWS and Claude Models on Google Cloud (Anthropic managed), the provider block's workspace_id names the workspace in place of organization_id; on Claude Managed Agents on Amazon Bedrock it names an Amazon Bedrock project | Credentials |
| Terraform version | 1.0 or later; 1.11 or later to set write-only secrets | README |
| License | Apache-2.0, except files whose header names another license | README |
Order of operations
1. Declare the provider with source = "anthropics/anthropic" in required_providers and add the provider "anthropic" block with your organization_id. README 2. Add a resource such as anthropic_workspace (the README example is named research). README 3. Export ANTHROPIC_API_KEY: an Admin API key for the README's anthropic_workspace example, or a workspace-scoped Developer API key if you manage Managed Agents resources; service accounts and federation resources need an org:admin token instead. README Credentials 4. Run terraform init, then terraform apply. README 5. Browse the registry reference for data sources such as anthropic_beta_agent and anthropic_beta_bedrock_agent. Agent data source Bedrock data source Registry
Known failures and fixes
- Provider not found: use
anthropics/anthropic, the only official address. README - Configuration breaks after a provider upgrade: the README says beta releases may need configuration updates. README
- Write-only secrets fail: they need Terraform 1.11 or later. README
Missing
- The full resource list is not summarized here; the repository's
docs/resourcesfolder and the registry reference list them. Docs - How the provider handles key rotation is not covered.
- Pricing for Managed Agents is not in the README.
- The README does not mention OpenTofu.
Evidence
anthropics/terraform-provider-anthropic README at commit 233e00d, release v0.1.0 and the Terraform Registry entry, read 2026-12-04. Independent report: frits-v requested anthropics/anthropic for the OpenTofu registry in opentofu/registry issue 6871 on 2026-12-03; the issue was closed on 2026-12-04 and the pull request it generated, 6872, is merged (checked 2026-12-04). It records a third party's listing request and its merge, not any use of the provider. 0 trials in this draft; not tried by WhatWorks.
Checked
2026-12-04; the README was read at that commit.
Started from a post by @Anthropic (anthropics/terraform-provider-anthropic), packaged by the editor. Original post