boundless-airport-99052
03/09/2021, 2:51 PMtall-librarian-49374
03/09/2021, 3:25 PMread
. Are you asking because it doesn’t work?boundless-airport-99052
03/09/2021, 3:36 PMread
method, I just add a console.log
, but it was never called,
I will try to implement itasync read(id: pulumi.ID, props?: any): Promise<pulumi.dynamic.ReadResult> { console.log(`pulumi.dynamic.ResourceProvider: call --read-- on ${id}`)
<http://pulumi.log.info|pulumi.log.info>(`pulumi.dynamic.ResourceProvider: call --read-- on ${id}`)
return {id: ''}
}
Then I do a pulumi up
to serialize this to the state.
Then I do a pulumi refresh
, but the resource is not refreshed and I can’t see any logs~ pulumi-nodejs:dynamic:Resource mgsub-sub-it-foundations-test-a-sandbox refreshing
pulumi-nodejs:dynamic:Resource mgsub-sub-it-foundations-test-a-sandbox
tall-librarian-49374
03/09/2021, 4:13 PMboundless-airport-99052
03/09/2021, 4:22 PMtall-librarian-49374
03/09/2021, 5:02 PMboundless-airport-99052
03/09/2021, 6:13 PM