pulumi / pulumi-command

Apache License 2.0
57 stars 23 forks source link

Consider adding support for `Read` #432

Open thomas11 opened 1 month ago

thomas11 commented 1 month ago

The Read operation is defined in the Pulumi resource model.

The Read method is responsible for reading the current inputs and state Objects for a resource. Read may be called during a refresh or import of a managed resource or during a preview or update for an external resource.

Allowing users to define a specific command to run on Read could open up new use cases. If you have such a case, please comment below!

This issue is a follow-up from #20.

danielrbradley commented 1 month ago

Perhaps this should be modelled as "refresh"