Skip to content

Commit 61f573c

Browse files
committed
aws: add IAM permissions for all plugins
Signed-off-by: Wesley Pettit <[email protected]>
1 parent c32547e commit 61f573c

File tree

4 files changed

+67
-1
lines changed

4 files changed

+67
-1
lines changed

pipeline/outputs/cloudwatch.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,25 @@ In your main configuration file append the following _Output_ section:
5757
auto_create_group On
5858
```
5959

60+
### Permissions
61+
62+
The following AWS IAM permissions are required to use this plugin:
63+
64+
```
65+
{
66+
"Version": "2012-10-17",
67+
"Statement": [{
68+
"Effect": "Allow",
69+
"Action": [
70+
"logs:CreateLogStream",
71+
"logs:CreateLogGroup",
72+
"logs:PutLogEvents"
73+
],
74+
"Resource": "*"
75+
}]
76+
}
77+
```
78+
6079
### Worker support
6180

6281
Fluent Bit 1.7 adds a new feature called `workers` which enables outputs to have dedicated threads. This `cloudwatch_logs` plugin has partial support for workers. **The plugin can support a single worker; enabling multiple workers will lead to errors/indeterminate behavior.**

pipeline/outputs/firehose.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,23 @@ In your main configuration file append the following _Output_ section:
5151
delivery_stream my-stream
5252
```
5353

54+
### Permissions
55+
56+
The following AWS IAM permissions are required to use this plugin:
57+
58+
```
59+
{
60+
"Version": "2012-10-17",
61+
"Statement": [{
62+
"Effect": "Allow",
63+
"Action": [
64+
"firehose:PutRecordBatch"
65+
],
66+
"Resource": "*"
67+
}]
68+
}
69+
```
70+
5471
### Worker support
5572

5673
Fluent Bit 1.7 adds a new feature called `workers` which enables outputs to have dedicated threads. This `kinesis_firehose` plugin fully supports workers.

pipeline/outputs/kinesis.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,23 @@ In your main configuration file append the following _Output_ section:
5050
stream my-stream
5151
```
5252

53+
### Permissions
54+
55+
The following AWS IAM permissions are required to use this plugin:
56+
57+
```
58+
{
59+
"Version": "2012-10-17",
60+
"Statement": [{
61+
"Effect": "Allow",
62+
"Action": [
63+
"kinesis:PutRecords"
64+
],
65+
"Resource": "*"
66+
}]
67+
}
68+
```
69+
5370
### Worker support
5471

5572
Fluent Bit 1.7 adds a new feature called `workers` which enables outputs to have dedicated threads. This `kinesis_streams` plugin fully supports workers.

pipeline/outputs/s3.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,20 @@ To skip TLS verification, set `tls.verify` as `false`. For more details about th
5050

5151
## Permissions
5252

53-
The plugin requires `s3:PutObject` permission.
53+
The plugin requires the following AWS IAM permissions:
54+
55+
```
56+
{
57+
"Version": "2012-10-17",
58+
"Statement": [{
59+
"Effect": "Allow",
60+
"Action": [
61+
"s3:PutObject"
62+
],
63+
"Resource": "*"
64+
}]
65+
}
66+
```
5467

5568
## S3 Key Format and Tag Delimiters
5669

0 commit comments

Comments
 (0)