Question: How to enable AzureRM RSV for a virtual machine at deployment time?
- integrating arm template with linux vm terraform
- we do this so we can include the rsv parameters (i.e "enable backups")
| /*Tested Ok example of Azure VM deployment*/ | |
| variable "prefix" { | |
| default = "tfvmex" | |
| } | |
| /*Create a resource group in a region*/ | |
| resource "azurerm_resource_group" "main" { | |
| name = "${var.prefix}-resources" | |
| location = "West US 2" |
| Terraform Example of using boot_diagnostics for Azure virtual Machine | |
| ===================================================================== | |
| - include this in the vm resource bloc: | |
| ``` | |
| . | |
| . | |
| . | |
| boot_diagnostics { |
| /*Tested Ok example of Azure VM deployment*/ | |
| variable "prefix" { | |
| default = "tfvmex" | |
| } | |
| /*Create a resource group in a region*/ | |
| resource "azurerm_resource_group" "main" { | |
| name = "${var.prefix}-resources" | |
| location = "West US 2" |
| AzureRM Recovery Services Vault | |
| =============================== | |
| Key Questions before deploying? | |
| =============================== | |
| 1. What is it (purpose, and architecture)? | |
| 1.1 what is it: |
| Overview | |
| ======== | |
| This is a set of notes I kept resulting in development of a terraform module wrapper to configure windows DNS. | |
| (Original gist location: https://gist.github.com/1de3be6a95400bce427008e04e53e26f) | |
| Objective: | |
| ========= |
1.1 Resource Group Properties
Pre-evaluation opinion:
| My list of current pending questions to resolve | |
| =============================================== | |
| Question #1 | |
| How to manage secrets in terraform code? | |
| Does it have something like ansible vault? | |
| Answer: |