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

2018年10月24日 · 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. ...

2018年10月24日 · 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? ...

2018年10月12日 · 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

2018年9月27日 · 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. ...

2018年9月26日 · 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 ...

2018年9月23日 · 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

2018年9月19日 · Shafiq Alibhai

/bin/sh: 1: bison: not found

sudo apt-get install bison

2018年9月19日 · Shafiq Alibhai

/bin/sh: 1: flex: not found

sudo apt-get install flex

2018年9月19日 · Shafiq Alibhai

[solved] xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist

Error: xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist Use sudo xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools, or use xcode-select --install to install the standalone command line developer tools. See man xcode-select for more details. xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist Use sudo xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools, or use xcode-select --install to install the standalone command line developer tools. See man xcode-select for more details. ...

2018年9月6日 · Shafiq Alibhai