Skip to content

Commit

Permalink
docs: add auth note to log_streaming_destination
Browse files Browse the repository at this point in the history
  • Loading branch information
mhaggerty042 committed Jan 16, 2025
1 parent a18be10 commit b5f00c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/resources/log_streaming_destination.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ description: |-

The Streaming Destination resource allows users to configure an external log system to stream HCP logs to.

To manage destinations, you must authenticate with an organization-level service principal with
the `contributor` or `admin` role.

## Example Usage: CloudWatch

```terraform
Expand Down
3 changes: 3 additions & 0 deletions templates/resources/log_streaming_destination.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ description: |-

{{ .Description | trimspace }}

To manage destinations, you must authenticate with an organization-level service principal with
the `contributor` or `admin` role.

## Example Usage: CloudWatch

{{ tffile "examples/resources/hcp_log_streaming_destination/resource_cloudwatch.tf" }}
Expand Down

0 comments on commit b5f00c2

Please sign in to comment.