I see we need to extract the label to a .json file from one bucket and we set the same label to a different bucket. I was wondering what if I am creating my first bucket from CLI and I don’t have a label format to be extracted ? Do I create a new .json file and set that for the bucket because I tried the command to change the labels on the bucket where labels weren’t assigned but change command didn’t work there and as far as I remember it gave a invalid syntax error there.
Hello! I’m glad you asked.
I see we need to extract the label to a .json file from one bucket
Actually, you don’t need to, but it is an option. You could definitely craft a json file however you’d like.
But in regards to the second part of your question, there’s no reason why a "change label" command shouldn’t work on a brand new bucket, so I’m guessing there was some sort of typo in the command you ran. Could you please post both the command and the error message? Thanks!