I have a gitlab variable as below:
REGIONS: us-east-1 us-west-2 eu-central-1
I want to pass this gitlab variable to a shell script. But when I pass it to script, its fetching only first element and rest are ignored.
The code used to pass variable is:
test.sh $REGIONS
Is it not possible to pass it like that or is there a way for it. Please help.
us-east-1 us-west-2 eu-central-1supposed to be three separate values in an collection or one long value?