File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
src/connections/storage/data-lakes Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,8 @@ The following steps provide examples of the IAM Role and IAM Policy.
66
66
67
67
### IAM Role
68
68
69
+ ###### 1. For ` us-west-2 ` region:
70
+
69
71
Create a ` segment-data-lake-role ` role for Segment to assume. Attach the following trust relationship document to the role:
70
72
71
73
``` json
@@ -94,6 +96,34 @@ Create a `segment-data-lake-role` role for Segment to assume. Attach the followi
94
96
]
95
97
}
96
98
```
99
+ ###### 2. For other regions:
100
+
101
+ Create a ` segment-data-lake-role ` role for Segment to assume. Attach the following trust relationship document to the role:
102
+
103
+ ``` json
104
+ {
105
+ "Version" : " 2012-10-17" ,
106
+ "Statement" : [
107
+ {
108
+ "Sid" : " " ,
109
+ "Effect" : " Allow" ,
110
+ "Principal" : {
111
+ "AWS" : [
112
+ " arn:aws:iam::595280932656:role/segment-datalakes-production-access" ,
113
+ ]
114
+ },
115
+ "Action" : " sts:AssumeRole" ,
116
+ "Condition" : {
117
+ "StringEquals" : {
118
+ "sts:ExternalId" : [
119
+ " WORKSPACE_ID"
120
+ ]
121
+ }
122
+ }
123
+ }
124
+ ]
125
+ }
126
+ ```
97
127
98
128
> note ""
99
129
> ** NOTE:** Replace the ` ExternalID ` list with the Segment ` WorkspaceID ` that contains the sources to sync to the Data Lake.
You can’t perform that action at this time.
0 commit comments