sparse-intern-71089
05/17/2023, 3:35 PMbillowy-army-68599
elasticsearch_output = program.small_cluster.elasticsearch.apply(lambda es: es.__dict__)
print(f'elasticsearch_output {elasticsearch_output}')
Should be like this:
elasticsearch_output = program.small_cluster.elasticsearch.apply(lambda es: print(es))
billowy-army-68599
billowy-army-68599
mammoth-optician-14118
05/17/2023, 4:31 PMmammoth-optician-14118
05/17/2023, 4:32 PMmammoth-optician-14118
05/17/2023, 4:33 PMpulumi.export("id", self.small_cluster.id)
and then accessed it in my code with:
id = up_res.outputs['id'].value
I assume this is the correct way?billowy-army-68599
mammoth-optician-14118
05/17/2023, 4:49 PM