brave-nightfall-19158
10/13/2021, 3:39 PMexport _class_ CustomResource extends ComponentResource {
public resourceArn(): Output<_string_> {
return this.resource.arn;
}
}
and then I instantiate:
_const_ service = new CustomResource(...);
const service2 = new CustomResource2('name', {
arn: service.resourceArn
});
However, I'm getting the dreaded Output/input problem because the export is a Pulumi Output (see attached screenshot). I also tried to service.resourceArn.apply() but that didn't seem to work either. Question - Do I need to wrap the entire of service2 in the pulumi.all/apply function?