Hi,
My question is about configuration.
I got in the serverless.yml file the following
vpc:
securityGroupIds:
- ${self:custom.config.sg1}
- ${self:custom.config.sg2}
subnetIds:
- ${self:custom.config.subnet1}
- ${self:custom.config.subnet2}
custom:
config: ${file(environments/config.${opt:stage, self:provider.stage}.yml)}
In the environments folder i got the relevant yml files
Problem is in my production environment i want to add more subnets so pre-defining subnet1 and subnet2 will not work.
How can i load all entries from my enironments/config.prod.yml file?
Which by the way looks like the following
vpc:
subnets:
subnet1: subnet-xxxx
subnet2: subnet-xxxx
subnet3: subnet-xxxx
Cheers