SHIFT-WIKI - Sjoerd Hooft's InFormation Technology
This WIKI is my personal documentation blog. Please enjoy it and feel free to reach out through blue sky if you have a question, remark, improvement or observation. See below for the latest additions, or use the search or tags to browse for content.
Add a Node.JS Layer to Lambda
Summary: How to Add a Node.JS layer to AWS Lambda.
Date: Around 2022
Refactor: 20 February 2025: Checked links and formatting.
In this article I'll show how to add a Node.JS layer to Lambda. By default, Lambda supports Node.JS 12 and 10 native modules and the AWS SDK for JavaScript in Node.JS (subject to change). However, there are many modules for Node.JS available that extend the possibilities. I'll show how to add the Node.JS module paynl to Lambda.
Azure ARM deployment using Azure DevOps YAML Pipeline
Summary: How to setup a completely new azure production environment, automated, using arm templates, powershell, azure CLI and Azure DevOps.
Date: Around 2021
Refactor: 20 February 2025: Checked links and formatting.
This article is all about setting up a new azure production like environment in a new subscription, with a few twists. It's all about automation, saving money, but still trying to touch on many topics. Automation will be a combination of PowerShell scripts, Azure CLI scripts, ARM templates and in the end these will be combined in an Azure DevOps pipeline.
The scope will include:
- Creation of a management group to hold the subscription and policies
- Policies for
- Allowed locations
- Deny NSGs with Inbound RDP from the internet
- Audit VMs with unmanaged disks
- A recovery services vault
- A VM with an additional disk
- Which will be backed up
- Which will automatically shut down at 17:30
- Network Security Groups
- Application Group
- A Budget
- A KeyVault
- An Azure Dashboard which will provide an overview
Argo CD - Fix exceeded max combined manifest file size
Summary: How to fix the error exceeded max combined manifest file size in argocd.
Date: 27 February 2025
A while ago I suddenly came across this error in Argo CD when trying to do a sync:
ComparisonError: rpc error: code = Unknown desc = Manifest generation error (cached): failed to get potentially valid manifests: exceeded max combined manifest file size
This error is caused because the combined file size of all the manifests in the repository you want to sync with is too large.
Argo CD - Changing a Live Manifest
Summary: How to change a live manifest in argocd.
Date: 27 February 2025
In this post I'll show you how to change a manifest for a live application in Argo CD. This is useful when you need to make a quick change to a resource that is managed by Argo CD. In the last few months I've used this for changing all sorts of things, like image versions, resource limits and timeout settings for the liveness probe.
