https://pulumi.com logo
s

steep-toddler-94095

10/13/2021, 4:10 PM
the type you're seeing isn't an
Output<string>
it's a
function that returns Output<string>
. you need to either call the function or change the class method to a
get
. I.e. for the latter:
Copy code
export class CustomResource extends ComponentResource {
    public get resourceArn(): Output<string> {
        return this.resource.arn;
    }
}
🙌 2
b

brave-nightfall-19158

10/13/2021, 4:51 PM
omg thanks for spotting this so easily. can't believe I missed it
p 1
legend