Created
December 14, 2019 11:56
-
-
Save cdennig/bf6bc89e535e3e555bdd70e0493d0efa to your computer and use it in GitHub Desktop.
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
provider "azurerm" { | |
# whilst the `version` attribute is optional, we recommend pinning to a given version of the Provider | |
version = "=1.38.0" | |
} | |
provider "azuread" { | |
version = "~> 0.3" | |
} | |
terraform { | |
backend "azurerm" { | |
resource_group_name = "tf-rg" | |
storage_account_name = "tfstatestac" | |
container_name = "tfstate" | |
key = "org.terraform.tfstate" | |
} | |
} | |
data "azurerm_subscription" "current" {} | |
# Resource Group creation | |
resource "azurerm_resource_group" "k8s" { | |
name = "${var.rg-name}" | |
location = "${var.location}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment