xgboost/tests/buildkite/infrastructure/aws-stack-creator/agent-iam-policy-template.yml
Philip Hyunsu Cho 50ff8a2623
More CI improvements (#8313)
* Reduce clutter in log of Python test

* Set up BuildKite test analytics

* Add separate step for building containers

* Enable incremental update of CI stack; custom agent IAM policy
2022-10-06 06:33:46 -08:00

33 lines
779 B
YAML

---
AWSTemplateFormatVersion: "2010-09-09"
Description: "Buildkite agent's IAM policy"
Resources:
BuildkiteAgentManagedPolicy:
Type: AWS::IAM::ManagedPolicy
Properties:
PolicyDocument:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:*",
"s3-object-lambda:*"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "lambda:InvokeFunction",
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "secretsmanager:GetSecretValue",
"Resource": "*"
}
]
}