From 781c072ce853cc62bc1d906b57ff5587c6329a10 Mon Sep 17 00:00:00 2001 From: Frank Schmid Date: Tue, 5 Dec 2017 10:57:35 +0100 Subject: [PATCH] Added hint to determine generated resource names easily --- docs/providers/aws/guide/resources.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/providers/aws/guide/resources.md b/docs/providers/aws/guide/resources.md index 52bc1e938..5d2d65fe4 100644 --- a/docs/providers/aws/guide/resources.md +++ b/docs/providers/aws/guide/resources.md @@ -63,6 +63,9 @@ All resource names that are deployed by Serverless have to follow this naming sc We're also using the term `normalizedName` or similar terms in this guide. This means dropping any characters that aren't allowed in resources names, e.g. special characters. +_Tip:_ +If you are unsure how a resource is named, that you want to reference from your custom resources, you can issue a `serverless package`. This will create the CloudFormation template for your service in the `.serverless` folder (it is named `cloudformation-template-update-stack.json`). Just open the file and check for the generated resource name. + | AWS Resource | Name Template | Example | |--- |--- | --- | | S3::Bucket | S3Bucket{normalizedBucketName} | S3BucketMybucket |