Creating a template from IBM Workload Deployer pattern
In Cloud Automation Manager, 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 create a template, see Creating 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 Cloud Automation Manager.
- Click Export. It downloads a compressed file archive. The file includes a terraform folder, which in turn includes
cam-template.tfandcam-variables.jsonfiles. - Go to Cloud Automation Manager user interface.
- From the left-side menu, go to Library > 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.tffile 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.