Creating a template from IBM Workload Deployer pattern
In Managed services, you can create a template that deploys a pattern in IBM Workload Deployer.
About the task
Ensure that you use IBM Workload Deployer V2.2.5.2 or higher. For detailed steps to import a template, see Importing a template.
Procedure
- Log in to your IBM Workload Deployer server.
- Go to Virtual System Patterns.
- Click to open your pattern. You can deploy an instance of this pattern in Managed services.
- Click Export. It downloads a compressed file archive. The file includes a Terraform folder, which in turn includes
cam-template.tf
andcam-variables.json
files. - Go to IBM Cloud Pak® for Multicloud Management console and click Automate infrastructure>Manage services.
- Click Library > Terraform templates.
- Click Import template.
- In the Create template page, go to From scratch.
- Enter the Name and Description of the template.
- Select IBM Workload Deployer from Cloud provider drop down list.
- Click Create.
- Go to Manage template tab.
- Click here link of Add your template source code here.
- In the Add template source, select From a file option.
- Browse to the location of the
cam-template.tf
file that you exported from the IBM Workload Deployer server. - Click Add.
- Click Update parameters in the Manage template tab.
- In Update parameters page, select From a file option from Import type.
- Browse to your exported folder and select
cam-variables.json
. - Click Update.
- Click Save to save the template.