Hi all,
The Description for any stack deployed with the Serverless Framework is set to: “The AWS CloudFormation template for this Serverless application”
Is there a way to override this?
From the reference https://serverless.com/framework/docs/providers/aws/guide/serverless.yml/ it would seem there is no way to override this…
-Paul
rowanu
January 7, 2017, 5:22am
2
I haven’t tried this, but if you put a Description
section in the serverless.yml
's resources
section it might override it - I know that the resources
section is merged with the base template as part of a deploy.
2 Likes
rowanu
January 9, 2017, 3:33am
3
FWIW I tried it and it works.
rowanu:
Description
That works perfectly, thank you!
gkm
August 13, 2020, 1:43pm
6
Just to help out on the actual sample definition this is how I got it to update the description.
version info
Framework Core: 1.78.1 (standalone)
Plugin: 3.7.0
SDK: 2.3.1
Components: 2.33.4
Serverless template
...
resources:
Description: My nice description of the stack
philihp
December 9, 2021, 12:49am
7
This works and puts a description into the compiled update-stack JSON file, but not the create-stack JSON file. This feels like a bug.
1 Like