https://pulumi.com logo
#general
Title
# general
g

gray-city-50684

03/15/2019, 12:36 PM
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

adventurous-night-54654

03/15/2019, 2:32 PM
g

gray-city-50684

03/15/2019, 2:37 PM
thanks!