Skip to content

Commit 70fa161

Browse files
authored
Update repository_environments documentation
Added a note about permissions for GitHub API access.
1 parent 1af72d4 commit 70fa161

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

website/docs/d/repository_environments.html.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ description: |-
99

1010
Use this data source to retrieve information about environments for a repository.
1111

12+
> [!NOTE]
13+
> Verify you have the correct permissions set up from the [GitHub API docs](https://docs.github.com/en/rest/deployments/environments?apiVersion=2022-11-28#get-an-environment--fine-grained-access-tokens)
14+
1215
## Example Usage
1316

1417
```hcl

0 commit comments

Comments
 (0)