AWS Policies for the Nightly Live-Mode Workflow

Two JSON documents, both with placeholders to replace (<ACCOUNT_ID>, <AWS_REGION>, <S3_BUCKET>, <S3_PREFIX>; the repository genial-labs-ai/system_agent_harness_aws is already filled in):

file attach to purpose
oidc_trust_policy.json the IAM role’s trust policy lets GitHub Actions on main of this repository assume the role via OIDC; nothing else can (aud and sub conditions).
iam_policy.json the same role’s permissions policy least privilege: invoke only the two configured models (via their cross-region inference profiles and the underlying foundation models in the profile’s destination regions, which Bedrock requires), describe models/profiles, and read/write only under one S3 prefix.

Notes:

Back to top