NPM update all globally installed packages

npm update -g

22 December 2018 · Shafiq Alibhai

Decoding the Error: StatusCode=0 "ReferencedResourceNotProvisioned" in Azure

Introduction If you’re working with Azure, you might have encountered an error that looks something like this: “Failure sending request: StatusCode=0 — Original Error: Code=‘ReferencedResourceNotProvisioned’ Message=‘Cannot proceed with operation because resource used by resource is not in Succeeded state. Resource is in Updating state and the last operation that updated/is updating the resource is PutSubnetOperation.’” Though the error message can seem intimidating and cryptic at first, don’t worry. In this post, we’ll delve into what this error means and how you can resolve it. ...

22 December 2018 · Shafiq Alibhai

Import a Resource to Terraform Module

The example below will import an AWS instance into a terraform module: terraform import module.foo.aws_instance.bar i-abcd1234

24 October 2018 · Shafiq Alibhai

Navigating Terraform Modules Stored in Package Subdirectories

In the realm of Infrastructure as Code, Terraform modules can play a significant role in making your life easier. Sometimes, however, these modules don’t live at the root directory of their source package. Instead, they reside in sub-directories. Thankfully, Terraform has a smart way to help you access these nested modules. Terraform employs a unique double-slash (//) syntax to help pinpoint the exact sub-directory where the module is located. The path that follows this double-slash syntax is considered to be a sub-directory within the package or repository. ...

24 October 2018 · Shafiq Alibhai

How to Fix the "RPC failed; HTTP 413 curl 22" Error in Nginx

Understanding the Issue: ‘RPC failed; HTTP 413 curl 22’ If you’ve stumbled upon the error message “RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large,” you’re probably trying to push a rather hefty commit over HTTP to your server running Nginx. This error means that the size of the request you’re trying to send exceeds the limit that the server is willing to accept. So, how do you fix it? ...

12 October 2018 · Shafiq Alibhai

Install ruby gem files

Install the gems on the destination machine from the local files: cd /path/to/gems gem install --force --local *.gem

27 September 2018 · Shafiq Alibhai

The Cart Before the Horse - A DevOps Conundrum

We’ve all heard the age-old saying: putting the cart before the horse. Unfortunately, in the world of DevOps, this is happening far more often than it should, and it’s time we talk about it. The crux of the issue is that, too often, the focus isn’t on solving actual problems; it’s on utilizing shiny new technologies. Picture this: A developer stumbles upon a cutting-edge piece of technology. They’re immediately enamored by its features, its capabilities, the way it’s touted as the ’next big thing.’ So, they start finding ways to incorporate it into their work, regardless of whether it’s actually the best fit for the problems at hand. ...

26 September 2018 · Shafiq Alibhai

Your Go-To Guide for Top Enterprise Architecture Resources

Navigating the world of enterprise architecture can be a daunting task, especially when you’re not sure where to find reliable resources. Whether you’re a seasoned pro or just dipping your toes into the architecture ocean, this curated list will help you stay ahead of the game. Agile Enthusiasts Agile Architect by Andrew Johnston Questa Computing Ltd. runs this insightful blog, focusing on agile methodology within enterprise architecture. Agile Architect Website Development and Trends Application Development Trends - Enterprise Architect Section ...

23 September 2018 · Shafiq Alibhai

scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory

sudo apt-get install -y libssl-dev

19 September 2018 · Shafiq Alibhai

/bin/sh: 1: bison: not found

sudo apt-get install bison

19 September 2018 · Shafiq Alibhai