Created
November 9, 2020 23:50
Star
You must be signed in to star a gist
ansible on azure part 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variable "rgName" { | |
type = string | |
description = "resource group name w/ technician's initials as a suffix" | |
default = "ansibledev-yourinitials" | |
} | |
variable "rgLocation" { | |
type = string | |
description = "resource group location" | |
default = "australiaeast" | |
} | |
resource "azurerm_resource_group" "rg1" { | |
name = var.rgName | |
location = var.rgLocation | |
} | |
output "azurerm_resource_group_name" { | |
value = azurerm_resource_group.rg1.name | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment