You must be logged in to view saved presets
This Terraform template grants permission to a specific AWS account to access a Lambda Layer version.
resource "aws_lambda_layer_version_permission" "lambda_layer_permission" {
action = "lambda:GetLayerVersion"
layer_name = "arn:aws:lambda:us-west-2:123456654321:layer:test_layer1"
principal = "111111111111"
statement_id = "dev-account"
version_number = 1
}