Skip to content

Error in aws logs put-account-policy documentation #9474

Open
@garysassano

Description

@garysassano

Describe the issue

I found the following error in the documentation:

RoleArn The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don’t need to provide the ARN when you are working with a logical destination for cross-account delivery.

The following sentence isn't fully true: you DO require a RoleArn for cross-account delivery when the logical destination was created with an organization access policy, otherwise you'll get the following error:

An error occurred (InvalidParameterException) when calling the PutAccountPolicy operation: Role ARN is required when creating subscription filter against destination with Organization access policy.

Links

https://docs.aws.amazon.com/cli/latest/reference/logs/put-account-policy.html

Metadata

Metadata

Assignees

Labels

documentationThis is a problem with documentation.logsp3This is a minor priority issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions