pulumi/pkg/util
joeduffy da75f62865 Retry lambda creation until IAM role is available
Per Amazon's own documentation,
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html#launch-instance-with-role,
IAM roles may take "several seconds" to propagate.  In the meantime, we
are apt to get the dreaded "role defined for this function cannot be assumed"
error message.  In response, we'll do what the AWS documentation suggests:
wait a bit and retry.
2017-04-18 13:56:19 -07:00
..
cmdutil Refactor glog init swizzle to a shared package 2017-04-13 05:27:45 -07:00
contract Update copyright notices from 2016 to 2017 2017-03-14 19:26:14 -07:00
mapper Fix some poor hygiene 2017-04-08 07:44:02 -07:00
retry Retry lambda creation until IAM role is available 2017-04-18 13:56:19 -07:00
rpcutil Update copyright notices from 2016 to 2017 2017-03-14 19:26:14 -07:00
testutil Update copyright notices from 2016 to 2017 2017-03-14 19:26:14 -07:00