AWS
This reference will get you up and running with the Chassy AWS integration
Last updated
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "S3ReadPermissions",
"Effect": "Allow",
"Action": [
"s3:Get*",
"s3:Describe*",
"s3:List*"
],
"Resource": "arn:aws:s3:::<BUCKET_NAME>"
},
{
"Sid": "ECRReadPermissions",
"Effect": "Allow",
"Action": [
"ecr:BatchGet*",
"ecr:List*",
"ecr:Describe*",
"ecr:Get*"
],
"Resource": "*"
},
{
"Sid": "CloudwatchLogsReadPermissions",
"Effect": "Allow",
"Action": [
"logs:Get*",
"logs:Describe*",
"logs:List*"
],
"Resource": "*"
},
{
"Sid": "CloudwatchLogsWritePermissions",
"Effect": "Allow",
"Action": [
"logs:Put*",
"logs:Create*"
],
"Resource": "*"
}
]
}resource "aws_iam_policy" "policy"
name = "policy_name"
path = "/"
description = "My Chassy permission policy"
policy = <<EOF
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "S3ReadPermissions",
"Effect": "Allow",
"Action": [
"s3:Get*",
"s3:Describe*",
"s3:List*"
],
"Resource": "arn:aws:s3:::<BUCKET_NAME>"
},
{
"Sid": "ECRReadPermissions",
"Effect": "Allow",
"Action": [
"ecr:BatchGet*",
"ecr:List*",
"ecr:Describe*",
"ecr:Get*"
],
"Resource": "*"
},
{
"Sid": "CloudwatchLogsReadPermissions",
"Effect": "Allow",
"Action": [
"logs:Get*",
"logs:Describe*",
"logs:List*"
],
"Resource": "*"
},
{
"Sid": "CloudwatchLogsWritePermissions",
"Effect": "Allow",
"Action": [
"logs:Put*",
"logs:Create*"
],
"Resource": "*"
}
]
}
EOF
}