Skip to content

Commit f0fcf88

Browse files
sangharshcssanagarw
authored andcommitted
docs: sync IAM permissions breakdown with copy-paste policy
1 parent 9f23ba0 commit f0fcf88

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

www/src/content/docs/docs/iam-credentials.mdx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ There are a couple of different things being bootstrapped and these are the perm
269269
"s3:CreateBucket",
270270
"s3:PutBucketVersioning",
271271
"s3:PutBucketNotification",
272+
"s3:PutBucketPolicy",
272273
"s3:DeleteObject",
273274
"s3:DeleteObjectVersion",
274275
"s3:GetObject",
@@ -375,26 +376,26 @@ The SST CLI also makes some AWS SDK calls to your account. Here are the IAM perm
375376
"ssm:GetParameter",
376377
"ssm:GetParameters",
377378
"ssm:GetParametersByPath",
378-
"ssm:PutParameter"
379+
"ssm:PutParameter",
380+
"ssm:AddTagsToResource",
381+
"ssm:ListTagsForResource"
379382
],
380383
"Resource": [
381384
"arn:aws:ssm:us-east-1:112233445566:parameter/sst/*"
382385
]
383386
}
384387
```
385388

386-
- And permissions to connect to the IoT endpoint in `sst dev` to run your functions [_Live_](/docs/live).
389+
- And permissions to connect to the AppSync endpoint in `sst dev` to run your functions [_Live_](/docs/live).
387390

388391
```json
389392
{
390393
"Sid": "LiveLambdaSocketConnection",
391394
"Effect": "Allow",
392395
"Action": [
393-
"iot:DescribeEndpoint",
394-
"iot:Connect",
395-
"iot:Subscribe",
396-
"iot:Publish",
397-
"iot:Receive"
396+
"appsync:EventSubscribe",
397+
"appsync:EventPublish",
398+
"appsync:EventConnect"
398399
],
399400
"Resource": [
400401
"*"

0 commit comments

Comments
 (0)