The Phase Two Terraform Provider and Management API Are Out of Experimental
The Phase Two Terraform provider is no longer experimental. Neither are the Management API it is built on, or the API credentials that authenticate to it. Use them for production.
When we launched all three in September, we asked you to point them at test environments while the surface settled. Many of you didn't wait. Customers have been running real clusters with the provider for a while now, and so have we. In that time it has been tested thoroughly, and it is doing the job it was built for.
What changes?
The "Experimental" notices are gone from the docs and from the console's API Credentials tab. The Management API, API credentials and the provider are supported like the rest of the platform, so if something breaks in your pipeline, contact support the way you would for anything else.
Nothing changes in how you use them, and there is no migration. The provider block is the same one you have now:
terraform {
required_providers {
phasetwo = {
source = "p2-inc/phasetwo"
version = "~> 0.1"
}
}
}
What stays the same?
The one warning we kept is the one that was never about maturity. The provider manages real,
billable infrastructure. Replacing a phasetwo_cluster destroys it and every realm on it, and a
destroyed cluster keeps billing and holds its name until the end of the billing cycle. Read
terraform plan before every apply, and stop on any cluster marked must be replaced. A
lifecycle { prevent_destroy = true } on production clusters is cheap insurance.
Organizations and payment methods are still data sources only. Both involve flows that only make sense in a browser, so you create them in the console and look them up from Terraform.
Take me to it!
- Terraform provider docs: setup, every resource, and the sharp edges in full
p2-inc/phasetwoon the Terraform Registry- API keys: create a credential and make your first call
- Automation recipes: provision a cluster, onboard a tenant, attach a domain, rotate credentials
Thanks to everyone who ran it early and told us what broke. If you are managing Phase Two clusters by hand today, now is a good time to stop! Questions go to support@phasetwo.io.