Skip to content

AWS PrivateLink: Lambda Configuration

Once you have configured our AWS PrivateLink, align the VPC to your Lambda.

Lambda Configuration

Permissions

Grant the Lambda the permissions necessary to add virtual interfaces, as follows:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "ec2:DescribeNetworkInterfaces",
                "ec2:CreateNetworkInterface",
                "ec2:DeleteNetworkInterface"
            ],
            "Resource": "*"
        }
    ]
}

Full instructions can be found here.

Align the VPC to the Lambda

STEP 1. Follow these instructions to align the VPC to the Lambda.

STEP 2. Update the CORALOGIX_URL environment variable to match the FQDN endpoint for your Coralogix domain.

AWS Secrets Manager

If you intend to use AWS Secrets Manager with your Lambda, you must create another VPC endpoint for the com.amazonaws.<AWS Region>.secretsmanager service. Detailed instructions can be found here.