MS SQL – Creating a user with full permissions to the database

Create the user “admin_web” with the username “admin_web“, password “password1234” and provide the owner permissions to the database “artem_services” Create LOGIN:   Use necessary database:   Create a USER for the previously created LOGIN:   Add a USER to the database owners group:

 BASH – List based FOR loop

  For example, there is a file “/home/artem/IP” with IP addresses on which you want to execute a remote command, the FOR loop will look like this:  

CentOS 7 – Jenkins install

Install Java OpenJDK, as it is a dependency for Jenkins. The latest versions of Jenkins are compatible with version 11, so let’s install it.   To add the Jenkins repository, you will need the “wget” utility, if it is not installed, then install:   Add the repository and import its key:   Install Jenkins:   … Continue reading "CentOS 7 – Jenkins install"

  Terraform/Terragrunt – Create a module. Part 1

In this example, we will create a Terraform module for the AWS provider, which will be launched for 3 different environments using Terragrunt.   Requirements: Installed AWS CLI Installed Terraform (version above 12.0) Installed Terragrunt  

 FIX ERROR – Terraform: Blocks of type “tags” are not expected here.

When trying to make a terraform plan or  terraform apply, terraform returns the following error: Error: Unsupported block type Blocks of type "tags" are not expected here. Did you mean to define argument "tags"? If so, use the equals sign to assign it a value.   Solution: In terraform versions below the 12, the following … Continue reading " FIX ERROR – Terraform: Blocks of type “tags” are not expected here."