Skip to content

Commit

Permalink
aws: add IAM permissions for all plugins
Browse files Browse the repository at this point in the history
Signed-off-by: Wesley Pettit <[email protected]>
  • Loading branch information
PettitWesley committed Jun 26, 2022
1 parent c32547e commit 61f573c
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 1 deletion.
19 changes: 19 additions & 0 deletions pipeline/outputs/cloudwatch.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,25 @@ In your main configuration file append the following _Output_ section:
auto_create_group On
```

### Permissions

The following AWS IAM permissions are required to use this plugin:

```
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": [
"logs:CreateLogStream",
"logs:CreateLogGroup",
"logs:PutLogEvents"
],
"Resource": "*"
}]
}
```

### Worker support

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.**
Expand Down
17 changes: 17 additions & 0 deletions pipeline/outputs/firehose.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,23 @@ In your main configuration file append the following _Output_ section:
delivery_stream my-stream
```

### Permissions

The following AWS IAM permissions are required to use this plugin:

```
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": [
"firehose:PutRecordBatch"
],
"Resource": "*"
}]
}
```

### Worker support

Fluent Bit 1.7 adds a new feature called `workers` which enables outputs to have dedicated threads. This `kinesis_firehose` plugin fully supports workers.
Expand Down
17 changes: 17 additions & 0 deletions pipeline/outputs/kinesis.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,23 @@ In your main configuration file append the following _Output_ section:
stream my-stream
```

### Permissions

The following AWS IAM permissions are required to use this plugin:

```
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": [
"kinesis:PutRecords"
],
"Resource": "*"
}]
}
```

### Worker support

Fluent Bit 1.7 adds a new feature called `workers` which enables outputs to have dedicated threads. This `kinesis_streams` plugin fully supports workers.
Expand Down
15 changes: 14 additions & 1 deletion pipeline/outputs/s3.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,20 @@ To skip TLS verification, set `tls.verify` as `false`. For more details about th

## Permissions

The plugin requires `s3:PutObject` permission.
The plugin requires the following AWS IAM permissions:

```
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": [
"s3:PutObject"
],
"Resource": "*"
}]
}
```

## S3 Key Format and Tag Delimiters

Expand Down

0 comments on commit 61f573c

Please sign in to comment.