colin
1
Hi there,
I’m trying to pass in an array of subnetids as a CLI argument as I don’t want to have those values checked into source control. Like:
serverless deploy --subnetIds 'subnet-xxxx,subnet-yyyy'
How can I make that work in serverless.yml?
Cheers,
colin
2
Never mind
vpc:
subnetIds:
"Fn::Split":
- ","
- ${opt:subnetIds}
3 Likes
Passing array in yml is sucks. Does serverless has some plan to fix this? @system
buggy
4
@ztmdsbt This is probably better discussed over at Github.