Kubernetes/EKS only. On a VM, skip this page.
This page is a detailed reference. For the supported AWS EKS + GitHub Actions deployment path, use the copy-paste task: AWS S3/DynamoDB state with GitHub Actions.
What the GitHub Actions role does
The GitHub Actions role is a customer-owned CI runner role. It is assumed by GitHub Actions through GitHub OIDC. It is not the same identity as the Sariva platform pod.Role naming
Use a customer-owned role name. The documented convention is:OIDC trust
The role trust policy should allowsts:AssumeRoleWithWebIdentity from the GitHub OIDC provider for the selected repository. For production, narrow the sub condition to a protected branch or environment.
Base state permissions
At minimum, the role needs:s3:ListBucket,s3:GetObject,s3:PutObject,s3:DeleteObjecton the Terraform state bucket;dynamodb:GetItem,dynamodb:PutItem,dynamodb:DeleteItem,dynamodb:DescribeTableon the lock table.
AWS Secrets Manager credential-store permissions
When AWS Secrets Manager stores per-Kafka-cluster credentials, the role needs stage-scoped access to:AWS SSM credential-store permissions
When SSM Parameter Store stores per-Kafka-cluster credentials, grant the role stage-scoped access to:ssm:GetParameter and ssm:PutParameter. Add KMS permissions if SecureString parameters use a customer-managed KMS key.
GitHub Actions repository secrets
The generated workflow needs these repository secrets:
Do not put per-Kafka-cluster admin or observability Kafka credentials in GitHub repository secrets for the AWS-native credential-store path. Store those credentials in AWS Secrets Manager or SSM.