I am using Jenkins Pipeline to publish a Visual Studio AWS Serverless .Net Core Application.
Can somebody tell me whether it is possible to add parameters to the serverless.template file? I would then be able to populate these parameters using the aws cli as part of the Jenkins build process.
For example if I wanted to publish to a staging environment with different VpcConfig values than the production environment;
"VpcConfig": {
"SecurityGroupIds": [
[PARAMETER_TO_BE_PASSED_IN_VIA_CLI]
],
"SubnetIds": [
[PARAMETER_TO_BE_PASSED_IN_VIA_CLI],
[PARAMETER_TO_BE_PASSED_IN_VIA_CLI]
]
}