amazon-iam

AWS lambda invoke not calling another lambda function - Node.js

折月煮酒 提交于 2019-11-26 14:38:55
After giving all the rights to invoke function. My Lambda function is not able to invoke another function . Every time I am getting timeout having 30 seconds timeout issue. It looks like lambda is not able to get another lambda function My lambdas are in same region, same policy, same security group .. Also VPC are same in both lambdas. The only thing is different now is lambda functions Here are the role rights 1) created AWSLambdaExecute and AWSLambdaBasicExecutionRole 2) Created one lambda function which is to be called Lambda_TEST exports.handler = function(event, context) { console.log(

Proper access policy for Amazon Elastic Search Cluster

牧云@^-^@ 提交于 2019-11-26 11:56:41
问题 I\'ve recently started using the new Amazon Elasticsearch Service and I can\'t seem to figure out the access policy I need so that I can only access the services from my EC2 instances that have a specific IAM role assigned to them. Here\'s an example of the access policy I currently have assigned for the ES domain: { \"Version\": \"2012-10-17\", \"Statement\": [ { \"Sid\": \"\", \"Effect\": \"Allow\", \"Principal\": { \"AWS\": [ \"arn:aws:iam::[ACCOUNT_ID]:role/my_es_role\", ] }, \"Action\":

How long should I wait after applying an AWS IAM policy before it is valid?

为君一笑 提交于 2019-11-26 08:27:04
问题 I\'m adding and removing AWS IAM user policies programmatically, and I\'m getting inconsistent results from the application of those policies. For example, this may or may not succeed (I\'m using the Java 1.6.6 SDK): Start with a user that can read from a particular bucket Clear user policies (list policies then call \"deleteUserPolicy\" for each one) Wait until the user has no user policies (call \"listUserPolicies\" until it returns an empty set) Attempt to read from the bucket (this should

AWS lambda invoke not calling another lambda function - Node.js

匆匆过客 提交于 2019-11-26 05:54:13
问题 After giving all the rights to invoke function. My Lambda function is not able to invoke another function . Every time I am getting timeout having 30 seconds timeout issue. It looks like lambda is not able to get another lambda function My lambdas are in same region, same policy, same security group .. Also VPC are same in both lambdas. The only thing is different now is lambda functions Here are the role rights 1) created AWSLambdaExecute and AWSLambdaBasicExecutionRole 2) Created one lambda