Adding AWS Integration with a Backend on Another Cloud Provider
Prerequisite
Step 1: Create an IAM role and policy
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Federated": "<EKS cluster OIDC ARN>" }, "Action": "sts:AssumeRoleWithWebIdentity", "Condition": { "StringLike": { "<EKS cluster OIDC>:sub": "system:serviceaccount:<groundcover sensor namespace>:integrations-agent" } } } ] }
{ "Version": "2012-10-17", "Id": "groundcover-integrations-agent", "Statement": [ { "Action": [ "tag:GetResources", "storagegateway:ListTagsForResource", "storagegateway:ListGateways", "shield:ListProtections", "iam:ListAccountAliases", "ec2:DescribeTransitGatewayAttachments", "ec2:DescribeSpotFleetRequests", "dms:DescribeReplicationTasks", "dms:DescribeReplicationInstances", "cloudwatch:ListMetrics", "cloudwatch:GetMetricStatistics", "cloudwatch:GetMetricData", "autoscaling:DescribeAutoScalingGroups", "aps:ListWorkspaces", "apigateway:GET", "s3:ListAllMyBuckets", "s3:GetBucketLocation", "s3:GetBucketTagging", "sqs:ListQueues", "sqs:GetQueueAttributes", "rds:DescribeDBInstances", "rds:DescribeDBClusters", "lambda:ListFunctions", "elasticache:DescribeCacheClusters", "elasticache:DescribeServerlessCaches", "elasticloadbalancing:DescribeLoadBalancers", "dynamodb:ListTables", "dynamodb:ListTagsOfResource", "dynamodb:DescribeTable", "airflow:GetEnvironment", "airflow:ListEnvironments", "ecs:ListClusters", "ecs:DescribeClusters", "ecs:ListServices", "ecs:DescribeServices", "ecs:ListTasks", "ecs:DescribeTasks", "es:ListDomainNames", "cloudfront:ListDistributions" ], "Effect": "Allow", "Resource": "*" } ] }
Step 2: Configure AWS Integration
Verification
Last updated
