Open
Conversation
Member
ShawnN24
commented
Apr 11, 2026
- removed "Note: The pdf/ folder is automatically created when you upload files - no manual folder creation needed"
- added policies for deploy script
- 1 for codebuild trust policies
- 1 for pdf2html codebuild policies
- 1 for pdf2pdf codebuild policies
- 1 for deployer policies
- updated iam permission.md accordingly
There was a problem hiding this comment.
Pull request overview
This PR refactors and documents IAM permissions used by the deployment workflow, moving large inline policy documents out of deploy.sh into standalone JSON policy files and updating the permissions documentation accordingly.
Changes:
- Extracted CodeBuild trust + deployment identity policies into
policies/*.jsonand updateddeploy.shto load them from disk. - Added a standalone deployer (caller) policy document and updated
docs/IAM_PERMISSIONS.mdto reference these policy files. - Minor README cleanup.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Removes an upload note related to the pdf/ folder behavior. |
| deploy.sh | Loads trust/identity policies from policies/ instead of embedding JSON inline. |
| policies/codebuild-trust-policy.json | New CodeBuild service trust policy JSON. |
| policies/pdf2pdf-codebuild-policy.json | New PDF-to-PDF CodeBuild deployment identity policy JSON. |
| policies/pdf2html-codebuild-policy.json | New PDF-to-HTML CodeBuild deployment identity policy JSON. |
| policies/deploy-policy.json | New deployer (caller) identity policy JSON (reference policy for running deploy.sh). |
| docs/IAM_PERMISSIONS.md | Rewrites IAM permissions documentation to point to the new standalone policy files and clarifies runtime vs deployment permissions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
aryankhanna2004
approved these changes
Apr 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.