Hello there, Does Pulumi automatically create logg...
# general
a
Hello there, Does Pulumi automatically create logging policies for Lambda functions created by it (specifically aws.lambda.CallbackFunction), Is there documentation available regarding to that?
b
You can specify the role(s) you want to use with the callbackfunction resource, but if you don’t, we set the following by default:
Copy code
AWSLambda_FullAccess
CloudWatchFullAccess
CloudWatchEventsFullAccess
AmazonS3FullAccess
AmazonDynamoDBFullAccess
AmazonSQSFullAccess
AmazonKinesisFullAccess
AWSCloudFormationReadOnlyAccess
AmazonCognitoPowerUser
AWSXrayWriteOnlyAccess
If you use the
aws.lambda.Function
then we don’t set anything by default and you have to specify a role to even create the function
a
Great, thanks 🙂