Disabling IPython AutoComplete
I use IPython quite often to validate my code and ensure that it is going to work the way I intended. There is something I don’t like from IPython though and that is its autocomplete feature. Most...
I use IPython quite often to validate my code and ensure that it is going to work the way I intended. There is something I don’t like from IPython though and that is its autocomplete feature. Most...
NOTE: Running Python 3.10.5 and IPython 8.22.2 in my environment when I created this post. Reverse a String the Pythonic way Reverse a String (str) in Python is very, very… very simple. Here w...
Error message: operation error DynamoDB: PutItem, https response error StatusCode: 400 Error cloud_user@553b1e446c1c:~/terraform_file_isolation/data-store$ terraform plan ╷ │ Error: Error acqui...
NOTE: All configurations were taken from a lab environment. Introduction In this post we will be creating 2 isolated resources in AWS, a webserver (and EC2 instance) and a data-store (and RDS i...
NOTE: All configurations were taken from a lab environment. Introduction Terraform workspaces allow you to use different Terraform state files in the same directory. This allows you do have dif...
NOTE: All configurations were taken from a lab environment. Introduction This guide will show how to use S3 as backend and DynamoDB to control the lock in Terraform. When Terraform runs, it cr...
NOTE: All configurations were taken from a lab environment. Introduction In this guide, we are going to create EC2 instances using Auto Scaling groups (ASG). The EC2 instances will run a very s...
NOTE: All configurations were taken from a lab environment. Installing Terraform Covered in: Installing Terraform on Ubuntu 24.04 Setup the AWS cretendials There are at least 2 options that w...
@pytest.mark.parametrize example Used to pass more than one case to a test. The next example is to test a funcion that validates the string conforms to the Juniper naming convention. We expect ...
ThreadPoolExecutor The code creates a ThreadPoolExecutor as a Context Manager. It then uses .map() which takes a function and an iterable of things. .map() steps through an iterable of things, i...