Crates.io | aws-codebuild-status_derive |
lib.rs | aws-codebuild-status_derive |
version | 0.3.0 |
source | src |
created_at | 2019-05-28 21:25:00.455348 |
updated_at | 2019-05-28 21:25:00.455348 |
description | AWS-Codebuild status in the terminal |
homepage | https://github.com/lholznagel/aws-codebuild-status |
repository | https://github.com/lholznagel/aws-codebuild-status |
max_upload_size | |
id | 137574 |
size | 1,811 |
Small rust terminal application that list all AWS-Codebuild projects and their current status.
REGION
and ACCOUNT
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"codebuild:BatchGetProjects",
"codebuild:BatchGetBuilds"
],
"Resource": "arn:aws:codebuild:REGION:ACCOUNT:project/*"
},
{
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": "codebuild:ListBuildsForProject",
"Resource": "arn:aws:codebuild:REGION:ACCOUNT:project/*"
},
{
"Sid": "VisualEditor2",
"Effect": "Allow",
"Action": "codebuild:ListProjects",
"Resource": "*"
},
{
"Sid": "VisualEditor3",
"Effect": "Allow",
"Action": [
"codecommit:ListBranches",
"codecommit:GetBranch"
],
"Resource": "arn:aws:codecommit:REGION:ACCOUNT:*"
}
]
}
Before you can use it the AWS_ACCESS_KEY_ID
, AWS_SECRET_ACCESS_KEY
and optional AWS_REGION
must be set as environment variable, as a file in ~/.aws/config
or ~/.aws/credentials
. As an alternative the IAM instance profile will also work.
Install it with cargo install aws-codebuild-status
It is now executable with aws-codebuild-status