Lambda Functions with Newer Version of boto3 than Available by Default

Joe PerksCloud and Virtualization, Offerings, Technical TipsLeave a Comment

During development of an AWS Lambda function utilizing the recently released AWS Cost Explorer API, the latest version of boto3 and botocore was discovered to be unavailable in the Lambda execution environment. The Lambda execution environment supported version of an AWS SDK can lag behind the latest release found on GitHub, which can cause supportability issues when writing Lambda code attempting to use the most recently added features of AWS SDKs. This blog post will explore using boto3 1.4.8 and botocore 1.8.0 despite (at the time of this writing) the Lambda execution environment defaulting to boto3 1.4.7 and botocore 1.7.37. This … Read More

Compatibility of AWS EC2 API Actions and IAM Policy Resource-Level Permissions

Joe PerksTechnical TipsLeave a Comment

Compatibility of AWS EC2 API Actions and IAM Policy Resource-Level Permissions

In this blog post I will examine how partial implementation of a feature of IAM policies: resource-level permissions interacts with AWS EC2 API actions to produce confusing results. Please note that AWS states in its documentation that it is planning on expanding the compatibility of resource-level permissions, so check the links at the bottom of this post for the most up-to-date information. Below is a short python program (troubleshooting.py) that utilizes the ec2:DescribeVolumes action. As you can see, I have omitted the access/secret key pair. If you wish to use this code, simply insert your access/secret key you obtained from the IAM … Read More

Keep Your Salesforce.com Versions Straight

Trey AroseNews and Updates, SalesforceLeave a Comment

Keep Your Salesforce.com Versions Straight

Winter is just around the corner, and so is the next version of Salesforce.com! Currently if you are using Salesforce.com, and have multiple instances such as a production and sandbox environment you may be running two different  API versions. The sandbox may be at version 29.0 which is winter ’14, when production is running 28.0 Summer ’13. This can cause issues with change sets that contain items created in the 29.0 version environment. Production environments will see the new version in October. Below is a handy link that can help you identify when your version will see Winter ’14. https://trust.salesforce.com/trust/maintenance/ … Read More