You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to manage my github actions variables in terraform, and I want to plan/apply my terraform in a github actions workflow. In order to do that, I need to give the access token of the workflow access to /repos/{owner}/{repo}/actions/variables.
but I still get: 403 Resource not accessible by integration [].
Based on the documentation it needs read/write access (depending on crud op), but to what? The title says Repository permissions for "Variables", and afaik repo permissions is equal to contents.
Should I create a fine grained PAT instead, store it in a secret, and overwrite the default access token provided to the workflow in the env vars of the job?
ActionsBuild, test, and automate your deployment pipeline with world-class CI/CDQuestion
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Select Topic Area
Question
Body
I want to manage my github actions variables in terraform, and I want to plan/apply my terraform in a github actions workflow. In order to do that, I need to give the access token of the workflow access to /repos/{owner}/{repo}/actions/variables.
I gave it:
but I still get:
403 Resource not accessible by integration []
.Based on the documentation it needs read/write access (depending on crud op), but to what? The title says Repository permissions for "Variables", and afaik
repo
permissions is equal tocontents
.Should I create a fine grained PAT instead, store it in a secret, and overwrite the default access token provided to the workflow in the env vars of the job?
Beta Was this translation helpful? Give feedback.
All reactions