Install
Terraform Provider
The Bytebase Provider itself is free to use. Some advanced resource operations require Pro or Enterprise Plan.
Tutorial: Manage Databases in Bytebase with Terraform
Bytebase provides the Terraform Provider to let you manage your Bytebase resources via Terraform.
Setup
-
Create service account. After creation, you can copy the service key as
service_key
and the email asservice_account
to initialize the Terraform provider in the next step. -
Configure Bytebase Terraform Provider
Troubleshoot
status: 404
This often happens when someone deletes the resources from the Bytebase UI and then attempts to
run terraform apply
.
To recover, please run terraform refresh
to refresh the state first.