Github token is missing when enabling comments on plan action #103
-
|
I'm trying to get comments working on the plan action; the actions run the plan, which is visible in the log and stored on S3; I've updated to v5 of the action but get the following error: time="2025-09-22T14:59:25Z" level=error msg="tfcmt failed" error="github token is missing"Did I miss something from the documentation (such as creating a Github App)? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
|
You wont need a GitHub App, but you do need additional workflow permissions to enable PR comments. Add this to the permissions:
id-token: write # to request the JWT token as part of configure-aws-credentials
contents: read # to checkout the repo
pull-requests: write # to post comments to pull requests
issues: write # to create GitHub Issue Labels, if necessary |
Beta Was this translation helpful? Give feedback.
-
|
@jochem725, thanks for raising this bug report. Thanks. |
Beta Was this translation helpful? Give feedback.
-
|
@jochem725 reopen if you will still have the problem |
Beta Was this translation helpful? Give feedback.


@jochem725, thanks for raising this bug report.
We fixed that in this release https://github.com/cloudposse/github-action-atmos-terraform-plan/releases/tag/v5.3.0
Could you pls verify it solves your issue?
Thanks.