This web portal is part of Executing a Linux programs from PHP web server. In earlier part I used only PHP to remotely execute commands on Linux server. In this it is a combination of PHP and PowerShell. Once you launch portal you will need to provide Domain username and password to authenticate an…
Blog posts
Executing a Linux programs from PHP web server
This is a small web automation project I created to execute remote Linux command through web server. The web language I used in this project is PHP (It is little similar to PowerShell so I was able to grasp it quickly and code the way I want).
Using this tool users without having access to Linu…
Azure DevOps Enable creation of classic build release pipelines grayed out
While configuring new Azure DevOps pipelines in the project I found classic editor is not visible in Pipelines section also few options under Pipelines were not visible such as releases and task groups. There is s a option to enable classic editor in Project Settings. To make changes navigate to P…
Developing and writing custom Ansible Python module Part 2
This is a second part of Developing and writing Ansible Python custom module for VMware pyvmomi example. In this example I have extended writing python module for VMware ansible to get more information from vCenter server from one single python ansible module script.
Download this custom an…
Testing domain AD credential with PowerShell one liner
This is a one liner command script to connect to Active Directory and verify user name and password credentials provided. I am using System.DirectoryServices.DirectoryEntry .net object here to connect to LDAP server (In my case it is Active Directory). When you are connected successful with correct…
Exploring Storage Virtualization and Data Protection Trends with BDRSuite New Release V7.0.0
We are thrilled to introduce BDRSuite version 7.0.0, now ready for production use. This release represents a significant leap in our commitment to innovation, bringing a host of exciting new features and improvements aimed at enhancing your data protection experience. Notably, this release includes …
Developing and writing Ansible Python custom module for VMware pyvmomi example
There may be requirement in RedHat Ansible when you write custom module when you don't fine tasks module for certain objects, that time you will need to write your own custom python module. In this given example I was using community VMware vSphere module with ansible and wanted to list all ESXi ser…
Terraform count vs for_each for examples with map of objects
In this Terraform article I have two examples for loop and count loop. I have one map of object. Where I will use both the loops on map to show how to use them in different way. You can check my earlier articles for different loops examples - Terraform for_each loop on map example and Terraform…
Terraform remote-exec provisioner with ssh connection in null_resource
This is a Terraform example of remote-exec provisioner with ssh connection using null_resource. To use remote-exec you need to provide remote server connection information. In my below example I am using and creating connection with ssh protocol to linux servers with terraform configuration. If you …
Terraform fore_each for loop filter with if condition example
In this HashiCorp Terraform configuration example article, I am using if condition to filter list of variable objects. Here in this configuration I am have multiple list of resource group, Their name and location are different in the variable objects as mentioned below.
I want to deploy only…
Terraform foreach module output to show only required results
In my previous articles I was testing my variable information to see output, one thing I observed in the output was showing all the variable content information in the output.
Terraform testing local variables and output csv file without resource Part 1
Terraform testing variable map object va…
Terraform clone virtual machine template in VMware vSphere vCenter Dynamic Content Part 2
This is improvised Terraform configuration scripts to clone Windows and Linux Template from VMware vCenter server. I have made few improvements in the configuration adding dynamic content block in the modules for network and disks. Another change is use variables, New VM information from csv file to…
Terraform deploy create A Private DNS Record in Microsoft Azure from list of objects
This is an example of creating multiple private DNS records in Microsoft Azure from list of objects. Here I am starting with variables.tf, I am using below list of objects as type in variable.
#variables.tf variable "dns_records" { type = list(object({ name =
Terraform testing variable map object values without resource configuration part 2
This is second part of earlier written article Terraform testing local variables and output csv file without resource Part 1. Idea is use same method technique to learn and verify how to assign map of object works. Below is the example of variable map object and its output.
I used this map obje…
Terraform testing local variables and output csv file without resource Part 1
This is article is about how I test and verify my maps, list, object and sets values without any resources and to check provided objects are mentioned correctly. Here in below example I wanted to test csv file content in terraform. To check the same I created local variables from CSV file and watch …
Terraform error retrieving storage account failure responding to request StatusCode 404 StorageAccountNotFound The storage account was not found
While working with Terraform Azure provider and creating storage account with service endpoints (subnets), I was receiving below strange error.
Error: retrieving Storage Account: (name: "storageaccount" / Resource Group "resourcegroup")" storage.AccountsClient#GetProperties: Failure responding t…
Terraform clone virtual machine template in VMware vSphere vCenter from CSV file
While working on cloning virtual machine in vCenter from template I already written two articles Using terraform to clone a virtual machine on VMware vSphere infrastructure and Terraform module clone VMware vSphere Linux and Windows virtual machine. But I wanted to improvise it as I got some modi…
Terraform A reference to a resource type must be followed by at least one attribute access, specifying the resource name
After entering my resources information for Azure in Terraform configuration files and running a plan I was keep on receiving below error.
A reference to a resource type must be followed by at least one attribute access, specifying the resource name
PS D:\Projects\Terraform\Module_creat…
Terraform one module deploy null or multiple resources based on input (nested for loop)
This article is about little bit advanced structure in the terraform module, Here I using terraform functions to create a module where multiple resources will be created from given map or object input. If map or object is null (not mentioned) there shouldn't be error and it should skip making those …
Hashicorp Terraform map and object inside module and variable example
This is example of map and object functions used in variable and Terraform module. Here is my tree view of module folders and tf files.
In the module variable I am using two terraform functions object and map to define data. To use object, provide information in key value pair and dictionar…
Blog Search
Page Views
11362098
Archive
- April 2024 (5)
- November 2023 (1)
- September 2023 (6)
- July 2023 (15)
- June 2023 (5)
- May 2023 (9)
- April 2023 (4)
- March 2023 (7)
- February 2023 (1)
- January 2023 (1)
Comments
-
MaasMarch 9, 2024 02:13AM
-
bazsFebruary 22, 2024 07:48PM
-
February 22, 2024 12:36AM
-
February 20, 2024 06:13PM
-
debbyFebruary 19, 2024 07:51PM