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 servers in the vCenter server, but I didn't find the required task module as shown on the official guid…
Stuffs from real IT system ADMINISTRATORS world and my LAB
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 one module deploy null or multiple resources based on input (nested for loop).
Download this Ter…
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 are using windows system to connect then use winrm type protocol.
In the inline, mention the c…
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 resource group from WestUS location. Inside the loop, I am using if condition to filter the locatio…
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 values without resource configuration part 2
I wanted only the selected rg_name information to be s…
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 simply things.
Download this Terraform_VM_Template_clone script here or this is also available …
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 = string resource_group_name = string zone_name = string ttl …
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 object practically in earlier article Hashicorp Terraform map and object inside module and variable exa…
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 the output, how it looks like below.
Tot test values provided without resource I used i…
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 to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 C…
Page Views
10347660
Archive
- September 2023 (6)
- July 2023 (15)
- June 2023 (5)
- May 2023 (9)
- April 2023 (4)
- March 2023 (7)
- February 2023 (1)
- January 2023 (1)
- December 2022 (10)
- November 2022 (15)
Add-WindowsCapability: Add-WindowsCapability failed. Error code = 0x80072efe
Add-WindowsCapability: Add-WindowsCapability failed. Error code = 0x80072efe
Add-WindowsCapability: Add-WindowsCapability failed. Error code = 0x80072efe
Add-WindowsCapability: Add-WindowsCapability failed. Error code = 0x80072efe
Add-WindowsCapability: Add-WindowsCapability failed. Error code = 0x80072efe
...
thank you
same issue with visual studio code 7.2
code works fine in powershell ise
code fails in visual studio code
close visual studio code
open visual studio code
code works in visual studio code
This completely saved me in a time of need. Thank you
Is it safe to be open for all HTTPS connections from all IP addresses? Is it true that If another party does not have the particular CER imported in their system, they won't be able to connect anyway?