Terraformis a tool for building and managing infrastructure in an organized way. You can use it to manage DigitalOcean Droplets, Load Balancers, and even DNS entries, in addition to a large variety of services offered by other providers. Terraform uses a command-line interface and can run from...
If you are using Vagrant to set up the Kubernetes cluster, you can make use of my Vagrantfile. It launches 3 VMs. A self-explanatory basic Vagrantfile. If you are new to Vagrant, check theVagrant tutorial. If you are a Terraform and AWS user, you can make use of the Terraform script...
terraform -version terraform -help terraform -help plan We need Python 3.X installed. If not, download it from python.org. Use pip to install the required libraries: pip install google-api-python-client google-auth terraform-validate Configuring Authentication and Permissions To interact with Go...
Variables.tf: terraform use this file to read custom settings variable to use during the run time. If the variable is defined in the variable file then TF expect a default value or it will be passed as env variable during execution. For example...
for networking, monitoring and scaling the Fargate service. In this blog post, we are going to use the CloudFormation version of the template. If you prefer to read a Terraform example, you can find the details in the components folder in our sample repositories (CloudFormationa...
You can also use the prebuilt find command that is available in almost every Linux distribution. The find command allows you to find the files and directories that satisfy a specific condition. For example, the following find command finds and deletes all the temp files in the /tmp directory...
In bash script, if you wish to apply multiple conditions using if statement then use ‘ if elif else’. In this type of conditional statement, if the first condition is met then code below it will be executed otherwise next if condition will checked and if it is not matched then commands...
Admins can either run Pulumi Automation API from a developer machine or integrate it into a CI/CD platform using the Pulumi command-line interface (CLI), which talks to the Pulumi engine. This approach is not uncommon. Infrastructure-as-code tools such as Pulumi and Terraform rely on the CL...
The when condition in Ansible is used to control whether a task or a role should be executed. It evaluates an expression and runs the task only if the condition evaluates to true. This allows you to skip certain tasks based on the state of a variable or the result of a previous task....
Go is ten years old and still going strong. It'sthe third-most wanted programming languageafter Python and JavaScript. Big projects such as Kubernetes, Docker, and Terraform use it, and developers love it, too. If you always wanted to learn Go, this is the course for you. I intend to...