Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Latest commit

 

History

History
50 lines (43 loc) · 1.29 KB

aws-cloud.md

File metadata and controls

50 lines (43 loc) · 1.29 KB

AWS Cloud

Configuration

Kubernetes Tagger support AWS cloud. To enable it, just put the following key in the configuration file:

provider: aws

Moreover, this cloud is actually the default one enabled in Kubernetes Tagger.

IAM Policies

Here is the AMI Policies that Kubernetes Tagger needs in AWS:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "elasticloadbalancing:DescribeLoadBalancers",
                "elasticloadbalancing:RemoveTags",
                "elasticloadbalancing:DescribeTags",
                "elasticloadbalancing:AddTags",
                "ec2:DescribeVolumes"
            ],
            "Resource": "*"
        },
        {
            "Sid": "VisualEditor1",
            "Effect": "Allow",
            "Action": [
                "elasticloadbalancing:RemoveTags",
                "ec2:DeleteTags",
                "ec2:CreateTags",
                "elasticloadbalancing:AddTags"
            ],
            "Resource": [
                "arn:aws:ec2:*:*:volume/*",
                "arn:aws:elasticloadbalancing:*:*:loadbalancer/app/*/*",
                "arn:aws:elasticloadbalancing:*:*:loadbalancer/net/*/*"
            ]
        }
    ]
}