I am in CF 3.1. I have copied the redhat_PostProvision method to my own domain and I have verified that it is the one that is being called during the post provision process.
How can I access the tags that were applied to a catalog_item before it was provisioned? Using the InspectMe method on the Service Catalog Item object I can see the tags under the service_template attribute. However, I cannot actually access the service template object.
Through experimentation, I have found that I have access to $evm.root[‘miq_provision’] (and therefore the vm and everything it can access).
Is it possible to get the service_template object in post_provision? Is this the best way to get the tags associated with a catalog item after it is provisioned? Or is there a way to get the tags on a catalog item directly?