All Stories
Terraform and Azure's 'Required property policyRule not found in JSON'
While developing and testing a TF Azure module for policies and policy initiatives (sets) I’ve received the following error:Error: creating/updating Policy Definition custom-policy-1:...
In Terraform, Azure, Apr 11, 2023How to Install Docker on Amazon Linux 2
The installation of Docker on Amazon Linux 2 consists of several simple steps, which will be listed below.
In Docker, AWS, Apr 10, 2023Terraform and 'The given "for_each" argument value is unsuitable.'
As a follow-up to Terraform: null values and for_each, this time we are going to see which values are (not) allowed when dealing with for_each, thus the following error:│ Error: Inval...
In Terraform, Apr 09, 2023Fix Terraform 'Error creating Elastic IP: InvalidInstanceID.Malformed: Invalid id'
If you have a Terraform configuration that creates an EC2 instance and an Elastic IP address, you should be aware that the Elastic IP address depends on the instance. If you accidenta...
In Terraform, Apr 08, 2023Terraform: null values and for_each
Null values don’t go well hand in hand with Terraform’s for_each, but, as always, here’s some hack on how to get through.
In Terraform, Apr 07, 2023How to Install PHP Xmlrpc on Amazon Linux 2
If you want to send remote XML procedure calls to be made over HTTP, php-xmlrpc library can help you to achieve that. Let’s see how to install PHP Xmlrpc on Amazon Linux 2.
In AWS, Amazon Linux 2, Apr 06, 2023Terraform and 'the object type constructor requires one argument...'
Upgrading Terraform version (at least before version 1.0) to another major release, always comes with certain errors along the way, mostly for those being lazy to read any release not...
In Terraform, Apr 05, 2023How to Install PHP CLI on Amazon Linux 2
If you want to have the ability to run PHP scripts without the need for a web server or web browser, just running them through a terminal or command-line interface you need to have th...
In AWS, Amazon Linux 2, Apr 04, 2023Resolve Terraform's 'Error: Duplicate required providers configuration'
Another not so common error that I’ve faced while working on a Terraform module:```bashInitializing modules…There are some problems with the configuration, described below.
In Terraform, Apr 03, 2023Fix Nginx 'client intended to send too large body' error
If you have an Nginx server set up to handle file uploads, and a user tries to upload a file that is larger than the configured client_max_body_size directive. When this happens, Ngin...
In Nginx, Apr 02, 2023