``` #!/bin/bash echo Calling [toString] on ...
# general
b
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
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