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 …
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…
After upgrading Ansible Azure plugin module, while running my old ansible scripts against Azure resources to change or get information I was receiving error of TypeError: deprecated() got an unexpected keyword argument. (My credentials are stored in the file location of vim ~/.azure/credentials)
You can use this write up to find Azure Virtual Machine images available on the Azure Marketplace using PowerShell Module Az (Azure) commands. Before proceeding you need to know a few jargon vocabulary related to Azure cloud VM Images. You can use below properties to find VM templates on Azure cloud…
This part is continuation of Ansible authenticate to Microsoft Azure using credential profiles Part 1. Earlier I used automatic variables to use profile while executing ansible yaml script. But it is sometimes very inefficient, So inside the Ansible azure yaml code you can use profile parameter as…
My earlier article Quickstart How to authenticate Ansible with Microsoft Azure was for basic and foundation for authentication to azure using Ansible. But I have scenarios with multiple subscriptions to automate multiple azure clouds using Ansible, in that case I will make use of multiple credentia…
While working on one of my expired and disabled Microsoft Azure subscription with PowerShell, I was receiving error (Get-AzVirtualNetwork: 'this.Client.SubscriptionId' cannot be null) when trying to get information from Azure Virtual Network. Although I was receiving error for all the resources when…
Microsoft Azure Storage Account blob can be used as serverless web server to host static website pages, Static website content includes files pages from HTML, CSS, JavaScript and image files. Website files and data is stored on Storage Account special container named $web. This enables and gives …
This is a small example of Terraform module how to write and use it. A Terraform module is a folder/container for multiple resources that are used together. Every Terraform configuration has at least one module, known as its root module, which consists of the resources defined in the terraform .tf f…
Whenever I assign permissions on new Azure Subscription to new colleage groups I always create either new Azure budget or manage existing budget alert group to receive necessory subscription cost spending communications. After creating or managing budget I can ensure users are informed of the subscr…
Web apps works as very good hosting plan, you can host your website apps on line with Azure very easily. This is 3rd article in the series how to upload files to web app. Once Azure Web Apps is configured, next step is to upload custom web application built with php + html codes on it. Go to the Res…
While working with new version 10 of azcopy.exe I was facing error while login. After logging in the browser it was not accepting my username and password to login to Azure.What it says is I am not able to login to '579a7132-0e58-4d80-b1e1-7a1e2d337859', and my user account doesn't exist for login.…
Azcopy is a great command-line tool for automating Azure storage, it is a simple yet powerful command line interface that allows you to copy files to and from Azure storage and between Azure storage accounts. I was doing POC of the latest version of azcopy.exe, (There 2 different flavors available f…
I was testing Microsoft Azure web app resource service for one of a incoming project, it allows you to publish and manage your website easily without having to work with the the underlying servers, storage, or network assets, basically it is a PAAS (Platform as a service), it is helps you to focus o…