Hello everyone. I want to create a resource with different parameters based on which environment that I’m going to deploy (e.g. dev, staging, prod). I’ve tried Conditional serverless.yml based on stage? solution but serverless throw error about “duplicated mapping key”.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Conditional serverless.yml based on stage? | 16 | 86358 | June 5, 2023 | |
How to conditionally declare environment varaibles in the configuration for different stages? | 0 | 411 | November 10, 2021 | |
Serverless v3 Conditions | 1 | 1902 | May 8, 2023 | |
CloudFormation Conditions | 4 | 14203 | October 19, 2016 | |
Is it possible to create lambda based on condition? | 1 | 3570 | August 9, 2018 |