Refactor the azurerm provider configuration into its own .tf file

This commit is contained in:
R. Tyler Croy 2016-11-17 12:27:12 -08:00
parent e917553991
commit 996e621461
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
2 changed files with 8 additions and 8 deletions

8
plans/provider.tf Normal file
View File

@ -0,0 +1,8 @@
# Configure the terraform provider for the infrastructure
provider "azurerm" {
subscription_id = "${var.subscription_id}"
client_id = "${var.client_id}"
client_secret = "${var.client_secret}"
tenant_id = "${var.tenant_id}"
}

View File

@ -5,14 +5,6 @@
# These resources were originally created manually via the Azure Portal, but
# this plan represents the enforcement of those resources.
provider "azurerm" {
subscription_id = "${var.subscription_id}"
client_id = "${var.client_id}"
client_secret = "${var.client_secret}"
tenant_id = "${var.tenant_id}"
}
resource "azurerm_resource_group" "releases" {
name = "${var.prefix}jenkinsinfra-releases"
location = "East US 2"