Compare commits
3 Commits
master
...
terraform-
Author | SHA1 | Date | |
---|---|---|---|
438066f8ff | |||
ca3f9b5b68 | |||
761c5daaf9 |
10
.gitignore
vendored
10
.gitignore
vendored
@ -1,7 +1,17 @@
|
||||
# Ansible retry files
|
||||
*.retry
|
||||
|
||||
# vim swap files
|
||||
*.swp
|
||||
|
||||
# OSX
|
||||
.DS_Store
|
||||
|
||||
# Ansible host files
|
||||
hosts
|
||||
win_hosts
|
||||
|
||||
# Ignore Terraform state files.
|
||||
.tfstate
|
||||
.tfstate.backup
|
||||
.terraform*
|
||||
|
20
terraform/azure/main.tf
Normal file
20
terraform/azure/main.tf
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
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}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user