Running a PowerShell script in Dockerfile

Recently we needed to create a Docker image that provided multiple command line tools as part of our CI/CD pipeline. As part of our pipeline we use PowerShell Core to run scripts, triggering changes within our AWS infrastructure, this means installing the AWS SDK module into the Docker image so we don’t have to download it on every single use. …

Running a pod in EKS with Service Accounts, AWS SDK 2

EKS is a brilliant feature from AWS, providing a mostly managed Kubernetes cluster that you can deploy your own services to. If you’re running in AWS you’ll likely be using multiple services such as S3, DynamoDB, SQS, etc. All of these services require credentials to gain access. The best practice is to ensure your code only has permissions to do …