Skip to content

Commit 093335a

Browse files
committed
updated instructions for lambda workshop
1 parent 05c31d2 commit 093335a

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

content/en/ninja-workshops/6-lambda-kinesis/1-setup.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ The AWS CLI requires that you have credentials to be able to access and manage r
8888
- _This command should provide a prompt similar to the one below:_
8989
```bash
9090
AWS Access Key ID [None]: XXXXXXXXXXXXXXXX
91-
AWS Secret Acces Key [None]: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
91+
AWS Secret Access Key [None]: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
9292
Default region name [None]: us-east-1
9393
Default outoput format [None]:
9494
```
@@ -100,7 +100,9 @@ The AWS CLI requires that you have credentials to be able to access and manage r
100100

101101
> Note to the workshop instructor: create a new user in the target AWS account called `lambda-workshop-user`.
102102
> Ensure it has full permissions to perform the required actions via Terraform. For example, adding the
103-
> `AdministratorAccess` policy to the user is sufficient.
103+
> `AdministratorAccess` policy to the user is sufficient. Create an access token for the `lambda-workshop-user`
104+
> and share the Access Key ID and Secret Access Key with the workshop participants. Delete the user
105+
> when the workshop is complete.
104106

105107
#### Terraform
106108
Terraform supports the passing of variables to ensure sensitive or dynamic data is not hard-coded in your .tf configuration files, as well as to make those values reusable throughout your resource definitions.
@@ -124,10 +126,11 @@ We will be using a combination of _**variables.tf**_ and _**terraform.tfvars**_
124126
```bash
125127
o11y_access_token = "CHANGEME"
126128
o11y_realm = "CHANGEME"
127-
otel_lambda_layer = ["arn:aws:lambda:us-east-1:254067382080:layer:splunk-apm:117"]
129+
otel_lambda_layer = ["CHANGEME"]
128130
prefix = "CHANGEME"
129131
```
130132
- _Ensure you change only the placeholders, leaving the quotes and brackets intact, where applicable._
133+
- _For the **otel_lambda_layer**, use the value for **us-east-1** found [here](https://github.com/signalfx/lambda-layer-versions/blob/main/splunk-apm/splunk-apm.md)
131134
- _The _**prefix**_ is a unique identifier you can choose for yourself, to make your resources distinct from other participants' resources. We suggest using a short form of your name, for example._
132135
- _Also, please only lowercase letters for the **prefix**. Certain resources in AWS, such as S3, would through an error if you use uppercase letters._
133136
- Save your file and exit the editor.

content/en/ninja-workshops/6-lambda-kinesis/4-manual-instrumentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Let's make sure that all these files that LOOK the same, are actually the same.
5858
- You may wish to view the entire file and examine its content
5959

6060
```bash
61-
cat ~/workshop/lambda/handler/producer.mjs
61+
cat ~/workshop/lambda/manual/handler/producer.mjs
6262
```
6363

6464
- Notice how we are now importing some OpenTelemetry objects directly into our function to handle some of the manual instrumentation tasks we require.

0 commit comments

Comments
 (0)