https://pulumi.com logo
#general
Title
# general
b

brainy-vegetable-77467

05/01/2020, 2:45 PM
Copy code
#!/bin/bash
    echo Calling [toString] on an [Output<T>] is not supported.
    To get the value of an Output<T> as an Output<string> consider either:
    1: o.apply(v => `prefix${v}suffix`)
f

faint-table-42725

05/01/2020, 5:41 PM
As the output suggests, you want to have the apply around the actual string itself. So you want `const userDataWorker = master_ip_priv.apply(ip => `#!/bin/bash ... ${ip} > ipmaster.txt | sh -
;
then feed
userDataWorker
as an input