From 70fa1619c62a9c03e47d1fb5d73265b99e00699d Mon Sep 17 00:00:00 2001 From: Timo Sand Date: Wed, 11 Mar 2026 13:39:02 +0200 Subject: [PATCH] Update repository_environments documentation Added a note about permissions for GitHub API access. --- website/docs/d/repository_environments.html.markdown | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/docs/d/repository_environments.html.markdown b/website/docs/d/repository_environments.html.markdown index 62831ef48c..116c3c2f47 100644 --- a/website/docs/d/repository_environments.html.markdown +++ b/website/docs/d/repository_environments.html.markdown @@ -9,6 +9,9 @@ description: |- Use this data source to retrieve information about environments for a repository. +> [!NOTE] +> 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) + ## Example Usage ```hcl