I've done some tweaking of this a bit. But now get the following error.
The following component requests failed: passwordtes_1. Internal error in processing component request: [Error code: 10102 ] - [Error Msg: Cannot find resources for field path [MySQL_1] of deployment [6b2dcfbf-e166-4a97-847f-aaf3b20f889d]. Current component [MySQL_1]]
MySQL_1 installs mysql and then should populate a compute property called dbpassword to pass on to other components.
dbpawssword definitely exists as i can "echo $dbpassword" in the MySQL_1 component and it displays the PW in the log files.
I'm setting dbpassword in the vRA bash code using
dbpassword=$(< /dev/urandom tr -dc A-Z-a-z-0-9 | head -c10)@
Is this the correct way to set computed values?
The passwordtes_1 component simply contains bash to "echo $dbpassword"
There is a property in this component called dbpassword. That property contains the binding lookup "_resource~MySQL_1~dbpassword" to get the variable that should be passed through from MySQL_1.
The question is, why is it not populating for use by other components?