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
Copy file name to clipboardExpand all lines: content/en/ninja-workshops/6-lambda-kinesis/1-setup.md
+24-23Lines changed: 24 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,25 +8,6 @@ weight: 1
8
8
9
9
## Prerequisites
10
10
11
-
### Note to Workshop Instructor
12
-
13
-
This step only needs to be completed once, as the IAM role created
14
-
in this step will be shared by all workshop participants:
15
-
16
-
```bash
17
-
cd~/workshop/lambda/iam_role
18
-
terraform init
19
-
terraform plan
20
-
terraform apply
21
-
```
22
-
23
-
After the workshop is complete, cleanup the role as follows:
24
-
25
-
```bash
26
-
cd~/workshop/lambda/iam_role
27
-
terraform destroy
28
-
```
29
-
30
11
### Observability Workshop Instance
31
12
The Observability Workshop uses the `Splunk4Ninjas - Observability` workshop template in Splunk Show,
32
13
which provides a pre-configured EC2 instance running Ubuntu.
@@ -98,6 +79,12 @@ The Workshop Directory `lambda` is a repository that contains all the configurat
98
79
### AWS & Terraform Variables
99
80
100
81
#### AWS
82
+
83
+
> Note to the workshop instructor: create a new user in the target AWS account called `lambda-workshop-user`.
84
+
> Ensure it has full permissions to perform the required actions via Terraform. Create an access token for the `lambda-workshop-user`
85
+
> user and share the Access Key ID and Secret Access Key with the workshop participants. Delete the user
86
+
> when the workshop is complete.
87
+
101
88
The AWS CLI requires that you have credentials to be able to access and manage resources deployed by their services. Both Terraform and the Python scripts in this workshop require these variables to perform their tasks.
102
89
103
90
- Configure the **awscli** with the _**access key ID**_, _**secret access key**_ and _**region**_ for this workshop:
@@ -117,10 +104,24 @@ The AWS CLI requires that you have credentials to be able to access and manage r
117
104
aws configure
118
105
```
119
106
120
-
> Note to the workshop instructor: create a new user in the target AWS account called `lambda-workshop-user`.
121
-
> Ensure it has full permissions to perform the required actions via Terraform. Create an access token for the `lambda-workshop-user`
122
-
> user and share the Access Key ID and Secret Access Key with the workshop participants. Delete the user
123
-
> when the workshop is complete.
107
+
#### Create an IAM Role (Workshop Instructor Only)
108
+
109
+
> Note to the workshop instructor: This step only needs to be completed once, as the IAM role created
110
+
>in this step will be shared by all workshop participants:
111
+
112
+
``` bash
113
+
cd~/workshop/lambda/iam_role
114
+
terraform init
115
+
terraform plan
116
+
terraform apply
117
+
```
118
+
119
+
> Note to the workshop instructor: After the workshop is complete, cleanup the role as follows:
120
+
121
+
``` bash
122
+
cd~/workshop/lambda/iam_role
123
+
terraform destroy
124
+
```
124
125
125
126
#### Terraform
126
127
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.
0 commit comments