You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li>packages functions AND provisions resources</li>
84
-
<li>large community that builds excellent plugins</li>
84
+
<li>large community that builds excellent <ins>plugins</ins></li>
85
85
</ul>
86
86
</dd>
87
87
<dd><b>Infrastructure as code (IaC)</b> - The process of managing and provisioning computer data centers through definition files.
@@ -97,9 +97,24 @@ script = 'animation'
97
97
<dd><b>Functions</b> - A property of the serverless.yml which lists the names of the function in your service. Inside the function is a handler pointing to the code. Functions can be nested inside other functions. Environment variables can be set as well as tagging. If the function fails, a DLQ (SNS) can be published.</dd>
98
98
<dd><b>Events</b> - things that trigger your functions to run (an S3 bucket upload, an SNS topic, and HTTP endpoints created via API Gateway)</dd>
99
99
<dd><b>Layers</b> - Code that you've used else where that you can import into the serverless function.</dd>
100
-
<dd><b>Resources</b> - A property of the serverless.yml which defines the infrastructure your functions depend on, like AWS DynamoDB or AWS S3. Resources deployed by Serverless have the naming scheme - <mark>{Function Name}{Cloud Formation Resource Type}{Resource Name}{SequentialID or Random String}</mark> (does not include S3). You can reference any resource by using the logical name or ARN.
100
+
<dd><b>Resources</b> - A property of the serverless.yml which defines the infrastructure your functions depend on, like AWS DynamoDB or AWS S3. Resources deployed by Serverless have the naming scheme - <var>{Function Name}{Cloud Formation Resource Type}{Resource Name}{SequentialID or Random String}</var>. <i>Does not apply to S3</i>.
101
101
</dd>
102
-
<dd><b>Variables</b> - allow users to dynamically replace config values in serverless.yml config.</dd><br/>
102
+
<dd><b>Variables</b> - allow users to dynamically replace config values in serverless.yml config with <mark>${}</mark> notation.
<li><b>Environment Variables</b> - <var>${env:SOME_VAR}</var>. <i>Keep in mind that sensitive information which is provided through environment variables can be written into less protected or publicly accessible build logs, CloudFormation templates, et cetera.</i></li>
109
+
<li><b>Referencing CLI Options</b> -<var>${opt:some_option}</var>. A common CLI option is the dev stage.</li>
110
+
<li><b>CloudFormation Outputs</b> - allows your service to communicate with other services/stacks using <var>${cf:stackName.outputKey}</var>. Output names are added to the <ins>Export</ins> field in the resources property:<br/>
0 commit comments