Skip to content

Instantly share code, notes, and snippets.

@jesseloudon
Created November 9, 2020 23:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jesseloudon/9b0b8a68c6578fbfa69c61a06c8ba132 to your computer and use it in GitHub Desktop.
ansible on azure part 2
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