How to set the cloudformation description in serverless.yml

Hello Team

I am new to serverless nodejs, i am try to setup first cloudformation stach everything works except i can’t seems to set the description i want, it always give me “The AWS CloudFormation template for this Serverless application.”

checking the cloudformation-template-create-stack.json file

{
  "AWSTemplateFormatVersion": "2010-09-09",
  **"Description": "The AWS CloudFormation template for this Serverless application",**
  "Resources": {
    "ServerlessDeploymentBucket": {
      "Type": "AWS::S3::Bucket"
    }
  },
  "Outputs": {
    "ServerlessDeploymentBucketName": {
      "Value": {
        "Ref": "ServerlessDeploymentBucket"
      }
    }
  }
}

and similar thing in cloudformation-template-update-stack.json

{
  "AWSTemplateFormatVersion": "2010-09-09",
  **"Description": "The AWS CloudFormation template for this Serverless application",**
    .......................
}

How can i custom the Description for this 2 files from serverless.yml

Any help would really appreciated

Thanks

Winston

I thought this sounded familiar… :wink:

http://forum.serverless.com/t/override-the-stack-description/1081

4 Likes

Hello Rowanu
Thanks the actually fixed the issue!

:+1::+1::+1::+1::+1::+1::+1:

Winston

1 Like

Thanks for the hint!
Fixed the issue! Really appreciate it! :+1: