How to add Account Condition to AWS Lambda Permissions in Terraform
If you need to lock an AWS Lambda function down to a source account for security reasons (PCI.Lambda.1) then you can do so by using the source_account …
149 articles about aws development, tools, and best practices
If you need to lock an AWS Lambda function down to a source account for security reasons (PCI.Lambda.1) then you can do so by using the source_account …
I needed to execute a Terraform null_resource provisioner (local-exec) block to run an awscli command, but assume a role passed down to it.
There was …
Read Article →Security groups are a critical component for securing resources in AWS. This guide will show you how to create and manage security groups in AWS using …
Read Article →Below is a simple CloudFormation script block to create a Security Group in AWS.
Resources:
SampleAppAppstreamSG:
Type: AWS::EC2::SecurityGroup …
Read Article →
AWS CloudFormation is very useful for creating template-able infrastructure definitions.
One of the sections of a template, is the Input Parameters, …
The AWS CLI comes with a useful subcommand to validate a CloudFormation template.
Simply run the following to validate a CloudFormation template file: …
Read Article →You may come across a message that reads similar to the following:
<meta charset="utf-8">Encoded authorization failure message
A full …
Read Article →AppStream (2.0) is a fully managed non-persistent desktop and application service for remotely accessing your work.
The ImageBuilder forms the first …
“Blue/Green Deployments” is a software deployment methodology. A terminology to suggest two mostly equal …
Read Article →This error often looks something like:
.zshrc: /usr/local/bin/aws: bad interpreter:
/usr/local/opt/python/bin/python3.6: no such file or directory …
Read Article →
If you are trying to push a Docker image to AWS ECR (Elastic Container Registry) and you get a no basic auth credentials error. Then you can easily …
By default, Docker pushes its images to Docker Hub.
While Docker Hub is a great way to share both your public and private images, you may find the …
Read Article →