Anthropic Terraform Provider for Claude Platform Resources
Set up the Anthropic Terraform provider in a test organization and review changes to workspaces and Managed Agents.
By the buymeatokens team1 min read
Short answer
Anthropic’s beta Terraform provider manages Claude Platform resources with Terraform 1.11 or newer and the ant CLI.
On this page
The Anthropic Terraform provider lets a team review Claude Platform changes in a Terraform plan. The beta requires Terraform 1.11 or later and the ant CLI. Organizations with Managed Agents access can also declare resources such as agents and their environments. Anthropic Terraform provider docs
Initialize in a dedicated test directory
Use the registry source anthropics/anthropic, select an explicit provider version, and commit the lockfile. Set the provider’s organization ID so a plan can catch credentials associated with a different organization. Sign in with a test organization and run terraform init and terraform plan. Review the resource names and organization before applying. Official Terraform registry entry
Choose a first resource with clear ownership
Start with a dedicated test workspace. Once your organization has Managed Agents access, add a test environment and agent with a minimal tool set. Use a specific agent version in your integration test so that a later configuration update can be compared with the earlier version. Review a plan for changes to networking, tools, or access. MCP tool overhead
Bring existing resources under management carefully
Inventory IDs and decide which stack should own each resource. Use the provider’s import instructions for supported types. Inspect the next plan for unintended replacement or deletion and reconcile configuration before using apply. Protect the Terraform state with your normal infrastructure controls and keep signing credentials outside source files. Claude for Open Source
Frequently asked questions
Can I apply a plan in an organization without Managed Agents?
The provider covers platform resources as well. Managed Agents resources require access to that product.
Why pin the provider version?
Anthropic labels the provider beta. Pinning lets you test changes to resource arguments before they reach a shared stack.
What should I review before a first apply?
Confirm the account, resource ownership, intended network access, and whether the plan would replace an existing resource.