Skip to content

Commit 6022823

Browse files
committed
Update Lambda Docs
1 parent 90fb4fd commit 6022823

File tree

1 file changed

+4
-4
lines changed
  • src/connections/destinations/catalog/amazon-lambda

1 file changed

+4
-4
lines changed

src/connections/destinations/catalog/amazon-lambda/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Using CloudFormation minimizes the setup steps needed, and is Segment's recommen
7777

7878
5. Give your stack a name.
7979
6. For the **ExternalId** parameter, enter the "External ID" setting in your Segment Lambda destination settings. This should be your **Workspace ID**.
80-
* **NOTE:** For security purposes, Segment recommends you to use your Workspace ID as your External ID. If you’re currently using an External ID different from your Workspace ID, you’ll be susceptible to attacks. You can find your Workspace ID by going to: **Settings > Workspace Settings > ID**.
80+
* **NOTE:** For security purposes, Segment recommends you to use your Workspace ID as your External ID. If you’re currently using an External ID different from your Workspace ID, consider changing it. You can find your Workspace ID by going to: **Settings > Workspace Settings > ID**.
8181
7. The **LambdaARN** parameter corresponds to the **Lambda** setting in your Segment Lambda destination settings.
8282

8383
![](images/CloudFormationStackDetails.png)
@@ -145,7 +145,7 @@ To create an IAM role:
145145

146146
![](images/LambdaTrustRelationship.png)
147147

148-
7. Copy and paste the following code into your trust relationship. You should replace `<your-source-id>` with either the Source ID of the attached Segment source (the default) or whatever custom external ID you set in your AWS Lambda destination settings.
148+
7. Copy and paste the following code into your trust relationship. You should replace `<your-source-id>` with either the Source ID of the attached Segment source (the default) or the value of external ID set in your AWS Lambda destination settings.
149149
* `arn:aws:iam::595280932656:root` refers to Segment's AWS Account, and is what allows Segment's Destination to access the role to invoke your Lambda.
150150

151151
> note ""
@@ -171,10 +171,10 @@ To create an IAM role:
171171
}
172172
```
173173

174-
If you have multiple Sources using this Role, replace the `sts:ExternalId` setting above with:
174+
If you have multiple Sources using this Role, or require the use multiple externalIds replace the `sts:ExternalId` setting above with:
175175

176176
```
177-
"sts:ExternalId": ["YOUR_SEGMENT_SOURCE_ID", "ANOTHER_SOURCE_ID", "A_THIRD_SOURCE_ID"]
177+
"sts:ExternalId": ["YOUR_SEGMENT_SOURCE_ID", "ANOTHER_SOURCE_ID", "AN_EXTERNAL_ID", "ANOTHER_EXTERNAL_ID"]
178178
```
179179

180180
### Configure Segment Lambda Destination

0 commit comments

Comments
 (0)