Is there a way to add code to a ComponentResource ...
# general
g
Is there a way to add code to a ComponentResource that runs only when the resources are actually being created (and not during preview)? The use case is: I would like to run some “pre-install” checks when I create my Kubernetes resources. Sometimes the Kubernetes cluster will be created with the same Pulumi app, but sometimes it will do the installation into an already existing Kubernetes cluster. When it is an already existing cluster I would like to check if certain pre-requisites are correctly installed.
a
g
thanks!