Posts

Showing posts from May, 2020

How to Configure Azure AADDS using Terraform in your Azure Subscription

Image
Deploying Azure Active Directory Domain Services (AADDS) using Terraform Azure AD Domain Services (AADDS) is a great service that allow you to deploy a managed domain in your Azure subscription.  One of the great things is that you don’t need to deploy Virtual Machines in order to install the ADDS role. It means that you also don’t need to manage the AADDS servers, and you don’t need to patch the domain controllers. Here we will deploy AADDS through Terraform and we will create   1. Resource group   2. VNET   3. Subnet inside a VNET   4. NSG and will associate NSG with Subnet   5. And last AADDS. Hence lets start if new to Terraform refer this blog https://terraformwithkushagra.blogspot.com/2020/04/how-to-create-resource-in-azure-using.html Create a Folder Named AADDS in side C:\drive    create another directory aadds-arm-master      copy template.json file in this directory ~~Start of template.json f...
How to fix Error refreshing state: storage: service returned error: StatusCode=403, ErrorCode=AuthenticationFailed, ErrorMessage=Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. 2020-05-04T17:56:01.1809950Z + provider.null v2.1.1 2020-05-04T17:56:01.1810262Z + provider.random v2.2.1 2020-05-04T17:56:01.1810570Z + provider.template v2.1.1 2020-05-04T17:56:01.4777786Z ##[debug]Env:INPUT_ARGUMENTS: 'init -backend=false' 2020-05-04T17:56:01.6332761Z ##[debug]Env:INPUT_PLANPATH (empty) 2020-05-04T17:56:01.6466394Z ##[debug]Entering Invoke-VstsTool. 2020-05-04T17:56:01.6559641Z ##[debug] FileName: 'terraform' 2020-05-04T17:56:01.6574379Z ##[debug] Arguments: 'init -backend=false -input=false -no-color' 2020-05-04T17:56:01.6634488Z ##[command]"terraform" init -backend=false -input=false -no-color 2020-05-04T17:56:02.6636763Z Error refreshing state: storage: service ret...

Create a Virtual Network in Azure using Terraform with modular approach part -4

Deploy  a module in Terraform for creation of Virtual Network  in Azure part-4   Prerequisite:-     Create a Resource Group  in Azure using terraform. Part -1        Youtube link:-           https://www.youtube.com/watch?v=pUUYL2fKQcc&t=363s         Blog           https://terraformwithkushagra.blogspot.com/2020/04/how-to-create-resource-in-azure-using.html     Create a module in Terraform  for a Resource Group in Azure part-2        Youtube link:-         https://www.youtube.com/watch?v=O1DNLPyudEY&t=80s         Blog:-       https://terraformwithkushagra.blogspot.com/2020/04/how-to-create-module-for-resource-group.html Now we will create a module for Virtual Network =================================== Inside your module Folder create a subFolder name...

Create a Storage account in Azure using module using Terraform Part -3

Create a module in Terraform for Storage Account  in Azure part-3   Prerequisite:-     Create a Resource Group  in Azure using terraform. Part -1        Youtube link:-           https://www.youtube.com/watch?v=pUUYL2fKQcc&t=363s         Blog           https://terraformwithkushagra.blogspot.com/2020/04/how-to-create-resource-in-azure-using.html     Create a module in Terraform  for a Resource Group in Azure part-2        Youtube link:-         https://www.youtube.com/watch?v=O1DNLPyudEY&t=80s         Blog:- https://terraformwithkushagra.blogspot.com/2020/04/how-to-create-module-for-resource-group.html    Now How to create a Storage account in Azure using module using Terraform 1. Go to Module Folder and create a subfolder storage_v1 2. create 3 Files   ...