Ansible/terraform/azure/main.tf
James Tombleson 761c5daaf9 Added some terraform
going though terraform for azure
2019-04-22 20:11:14 -07:00

21 lines
360 B
HCL

provider "azurerm" {
version = "=1.20.0"
}
resource "azurerm_resource_group" "rg" {
name = "myTFResourceGroup"
location = "eastus"
tags {
envirement = "TF Sandbox"
}
}
resource "azurerm_virtual_network" "vnet" {
name = "myTFnet"
address_space = ["10.0.0.0/16"]
location = "eastus"
resource_group_name = "${azurerm_resource_group.rn.name}"
}