Test Sample Instance
and Prod Sample Instance
from sample datahr_test
and postgres
databaseshr_prod
and postgres
databaseshr_test
and hr_prod
databases are in the default Sample Project
, while postgres
databases are unassigned. You can view them in Bytebase by clicking Databases on the left sidebar. Let’s organize them into new projects.
Terraform resource | bytebase_project |
Sample file | 3-projects.tf |
3-projects.tf
:
databases = bytebase_instance.test.databases
databases = ["instances/.../databases/..."]
hr_test
and postgres
which are both from Test Sample Instance
)
hr_prod
which is from Prod Sample Instance
)