Using workspaces to deploy infrastructure and cloud services
Use one of the IBM provided templates to create an IBM Cloud® Object Storage service instance that you can use to store your data in IBM Cloud.
The IBM Cloud Schematics template is a set of files that define the IBM Cloud resources that you want to create, update, or delete. You create a Schematics workspace that points to your template and use the built-in capabilities of the IBM Cloud provider plug-in for Terraform to provision your IBM Cloud resources. For more information about the provider and how Schematics spins up your IBM Cloud resources, see Infrastructure deployment with Schematics workspaces.
Before you begin
Before you can use this template, you must complete the following tasks.
- Make sure that you have the permissions to create a Schematics workspace.
- Make sure that you have the permissions to create an IBM Cloud Object Storage instance.
Creating an IBM Cloud Object Storage instance with Schematics
Use the IBM provided Terraform template to provision an IBM Cloud Object Storage instance with a Schematics workspace.
-
From the Schematics workspaces dashboard, click Create workspace.
-
In Specify template section. Enter GitHub, GitLab, or
Bitbucket
Repository URL as shown in the example.https://github.com/IBM-Cloud/terraform-provider-ibm/tree/master/examples/ibm-resource-instance
-
Select
terraform_v1.4
from the Terraform version drop down. -
Click Next.
-
In the Workspace details section, enter your Workspace name, Tags, Resource group, Location, and Description.
Ensure you provide the resource group, and the location where you want to create the workspace.
-
Click Next and then click Create to create Schematics workspaces successfully.
-
In the Variables section, template variables are displayed. Optionally, override the variables by referring the readme file.
If you already have an existing IBM Cloud Object Storage instance in your account, you must enter
standard
in the plan field. -
Click Generate plan to see the plan is generated successfully.
-
Click Apply plan. This process might take a few minutes to complete. Click Jobs to see the details of the provisioning process.
Output
View the provisioned IBM Cloud Object Storage instance.
- From the IBM Cloud resource list, select the Storage to view the provisioned IBM Cloud Object Storage instance.
- For more information about create IBM Cloud Object Storage bucket, see create some buckets to store your data.
You used the built-in Terraform capabilities of Schematics to create an IBM Cloud Object Storage service instance in your IBM Cloud account.
What's next?
Now that you created your first IBM Cloud resource with Schematics, you can explore the following options:
- Try out this IBM-provided template to create a bucket in the IBM Cloud Object Storage instance that you created with Schematics.
- Learn how to create your own Terraform template.
- Explore other IBM-provided templates.
- Set up the Schematics CLI or API to start automating IBM Cloud resources.