2 Answers
"lab-logs-bucket" is hard coded in startup script as a metadata key. What you need to provide is the bucket (gs://mybucketname/) you created as a value for the instance to retrieve from metadata list. So you should not replace it.
In my lab I set metadata lab-logs-bucket=gs://jay-startup
The key was lab-logs-bucket
. The value was bucket name including gs. You can pass the bucket name as any key. For example mybucket=gs://jay-startup
. This would require modifying the startup script to look for value of that key mybucket
.