In addition to the Cloud Assembly cloud template resources that you use when you create cloud templates, you can also create your own custom resources.
Custom resources are vRealize Orchestrator or extensibility action objects that you manage through vRealize Automation with the lifecycle actions defined in the custom resource. The cloud template service automatically calls up the appropriate vRealize Orchestrator workflows or extensibility actions when the operation associated with a specific lifecycle action is triggered. You can extend the functionality of the resource type by also selecting vRealize Orchestrator workflows or extensibility actions that can be used as day 2 operations.
This use case uses built-in workflows that are provided in the vRealize Orchestrator library. It includes prescriptive values or strings to demonstrate how to perform the process. You can modify them to suit your environment.
For reference purposes, this use case uses a project named DevOpsTesting. You can replace this sample project with any project in your environment.
Prerequisites
- Verify that you configured a vRealize Orchestrator integration. See Configure a vRealize Orchestrator integration in Cloud Assembly.
- Verify that the workflows that you are using for the create, update, destroy, and day 2 actions exist in vRealize Orchestrator and run successfully from there.
- In vRealize Orchestrator, locate the resource type used by the workflows. The workflows included in this custom resource must all use the same resource type. In this use case, the resource type is
AD:User
. For more information on resource type validation, see Custom resource types for Cloud Assembly cloud templates. - By using the built-in Active Directory workflows in your vRealize Orchestrator integration, configure an Active Directory server.
- Verify that you know how to configure and deploy a machine cloud template.
Procedure
What to do next
When your tested cloud template is working, you can then begin using the AD user custom resource with other cloud templates.